|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Answer: How do I make password prompts not echo back the user? |
| ( #301453=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > input and output > How do I make password prompts not echo back the user? contributed by Anonymous Monk
Here's how I did it using Term::Readkey
ReadMode ('noecho'); print "Enter Password: "; chomp($pw = <STDIN>); ReadMode ('restore');
|
|
||||||||||||||||||||||