|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Changing stty echo to star charactersby derby (Monsignor) |
| on Jan 04, 2012 at 11:46 UTC ( #946226=note: print w/ replies, xml ) | Need Help?? |
|
I don't believe the stty command has an option for this. You would need to read each character individually and echo back an asterisk accordingly. Term::Readkey makes this easy but you still need to handle edge cases like the backspace or control characters. Or you could just use IO::Prompt.
-derby
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||