http://www.perlmonks.org?node_id=322208


in reply to Hiding password on commandline

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!

--
http://fruiture.de

Replies are listed 'Best First'.
Re: Re: Hiding password on commandline
by Anonymous Monk on Jan 18, 2004 at 20:19 UTC
    Couldn't there be an easier way. Unfortunately, I've got to make due with the modules on the system and that's not one of them. I can't even install the module in my home directory. There's got to be an easier way.
      I can't even install the module in my home directory.
      How are you expected to develop programs that require passwords but yet you don't have authority enough in your own home directory to install the tools you need to program with? Seems really silly IMO.
      JamesNC