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::Read
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 w
bless you, my child *g*
On Wed, 9 Feb 2005 11:29:00 -0500, Bob Showalter
<[EMAIL PROTECTED]> wrote:
> 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 t
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.