Re: (OT-perl) read from stdin without echoing
On Wed, 2002-08-28 at 15:35, Raffaele Sandrini wrote:
> Hi
>
> Wich commands do i have to use to read from the console (STDIN) witchout the
> chars getting writed to the console like in a password entry?
man perlfunc:
system "stty -echo";
print "Password: ";
chomp($word = <STDIN>);
print "\n";
system "stty echo";
--
Claudio Bley _
ASCII ribbon campaign ( )
ICQ# 83197241 - against HTML email X
http://www.cs.uni-magdeburg.de/~bley/ & vCards / \
Reply to: