Re: RE: entering text w/o echoing

2005-02-10 Thread Joe Mecklin
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]
> > 
> 
> è
> çï
> 
> Xiaofang Zhou
> [EMAIL PROTECTED]
> 
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>  
> 
>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: RE: entering text w/o echoing

2005-02-10 Thread Xiaofang Zhou
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]
> 

致
礼!

Xiaofang Zhou
[EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: entering text w/o echoing

2005-02-09 Thread Joe Mecklin
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 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]
 




RE: entering text w/o echoing

2005-02-09 Thread Bob Showalter
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]