in reply to Re: CLI must not echo password
in thread CLI must not echo password
Update: link to kobesearch since search.cpan is downuse Term::ReadKey; print 'Enter Username: '; my $user = <STDIN>; chomp $user; print "Enter Password: "; ReadMode ('noecho'); my $pass = <STDIN>; chomp $pass; ReadMode ('restore'); print "\n";
|
|---|