Term::ReadLine is what you're looking for.
update: sorry, my fault, Term::ReadKey does what you want. I've even used it but confused it with Term::ReadLine. I'm lucky I didn't get downvoted for this post, although that would have been justified. So don't bother using ReadLine, use ReadKey!
--In reply to Re: Hiding password on commandline
by fruiture
in thread Hiding password on commandline
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |