perl <stdin>

Warren Block wblock at wonkity.com
Thu Aug 4 04:36:28 GMT 2005


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


More information about the freebsd-hackers mailing list