Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: How do I make password prompts not echo back the user?

( #33374=categorized answer: print w/ replies, xml ) Need Help??

Q&A > input and output > How do I make password prompts not echo back the user? contributed by strredwolf

In addition to Term::Readkey, you may want to write up your own linegetter with getc(STDIN). That way, you'll be able to trap all of the deletes/backspaces w/o having any problems.

Isn't there a Readline module?

Comment on Answer: How do I make password prompts not echo back the user?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-05-27 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (547 votes), past polls