Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Getting input for an password.by moodster (Hermit) |
on May 22, 2002 at 11:13 UTC ( [id://168397]=note: print w/replies, xml ) | Need Help?? |
Instead of doing the terminal IO by hand, you might want to check out the CPAN module Term::ReadKey; which grants you more control over what gets printed to the screen. To read a line from the terminal without having it printed, use the ReadMode function (and remember to reset it before the program terminates, otherwise you screw up the display).
Cheers,
In Section
Seekers of Perl Wisdom
|
|