On Tue, 12 Feb 2002 12:15:17 +1100, Ivan Teliatnikov
<[EMAIL PROTECTED]> wrote:
> I want to read a passwd string from the terminal but without
> displaying it back to the screen.
perldoc -q password
#!/usr/bin/perl -w
use strict;
use Term::ReadKey;
print "Password: ";
ReadMode('noecho');
chomp( my $password = ReadLine(0) );
ReadMode('normal');
print "\nYou entered '$password'\n";
__END__
> Thank you.
>
--
briac
<< dynamic .sig on strike, we apologize for the inconvenience >>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]