true, Inkey may be a bit easier, but the code below does not echo at all, giving absolutely no indication of the password's length. for me this is an additional benefit i find worth the minor extra effort.
thanks to both of you for your suggestions, they are greatly appreciated. use Term::ReadKey; ReadMode noecho; print "SECURID: "; chomp($securid = <>); ReadMode restore; On Thu, 10 Feb 2005 21:36:22 +0800, Xiaofang Zhou <[EMAIL PROTECTED]> wrote: > Any Term::InKey is more easy to use. > > use Term::InKey; > $password = ReadPassword; # echo with '****' > > å 2005-02-09 11:29:00 æåéï > >Joe Mecklin wrote: > >> i need the ability to accept keyboard input without echoing it back to > >> the screen (passwords, etc.) and have not yet found anything that will > >> accomplish that. is there something in Perl that will do that, do i > >> need a module, ...? > >> > >> thanks in advance for any/all help. > > > >Take a look at the faq article: > > > > perldoc -q 'How do I ask the user for a password?' > > > > > >-- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > ><http://learn.perl.org/> <http://learn.perl.org/first-response> > > è > çï > > Xiaofang Zhou > [EMAIL PROTECTED] > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>