vegasjoe has asked for the wisdom of the Perl Monks concerning the following question:
I want to prompt a user for a password, but don’t want what the user types to be echoed on the screen:
How can I do this?
This is no good.
How can I do this?
This is no good.
print "enter password"; $pwd=<>;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CLI must not echo password
by Corion (Patriarch) on Jan 19, 2005 at 07:24 UTC | |
Re: CLI must not echo password
by Tanktalus (Canon) on Jan 19, 2005 at 00:34 UTC | |
Re: CLI must not echo password
by foil (Sexton) on Jan 19, 2005 at 05:34 UTC | |
by PhilHibbs (Hermit) on Jan 20, 2005 at 13:55 UTC | |
Re: CLI must not echo password
by TheDamian (Vicar) on Jan 19, 2005 at 22:09 UTC | |
by PhilHibbs (Hermit) on Jan 20, 2005 at 14:16 UTC |
Back to
Seekers of Perl Wisdom