perl <stdin>

Wouter van Rooij aentgood at gmail.com
Thu Aug 4 01:17:59 GMT 2005


\

Hello,

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: ********

Thank you,
Wouter van Rooij


More information about the freebsd-questions mailing list