Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2005 22:36:24 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Wouter van Rooij <aentgood@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: perl <stdin>
Message-ID:  <20050803223527.N25657@wonkity.com>
In-Reply-To: <7603e5d805080317593a046eec@mail.gmail.com>
References:  <7603e5d805080317593a046eec@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Aug 2005, Wouter van Rooij wrote:

> At the first place, sorry for my bad English.
> My question is:
> How can you, when you're writing a perl program, make a input
> (<stdin>) hidden, so that when someone is typing an input in the
> following program is hidden:
> #!/usr/bin/perl
> print "Your name:";
> $name = <STDIN>
> I would like to get the input like this: ********

man -P 'less +/password' perlfaq8

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050803223527.N25657>