|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Answer: How do I make password prompts not echo back the user? |
| ( #33360=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 Fastolfe
The easiest solution, under Unix at least, is to call 'stty' to change the terminal's "echo" attribute. I know of no way to do this under Windows or any non-Unix platform, and there may be a more standardized way of doing this (such as via curses or some Term-based module):
|
|
||||||||||||||||||