Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by strredwolf (Chaplain)
on Sep 20, 2000 at 22:52 UTC ( #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? - Answer 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?
[ambrus]: `quote
[ambrus]: sorry, typed in the wrong box
[LanX]: Your mother: je ne t'aime plus! ;)
[choroba]: seems lispy
[Your Mother]: Be nice! I speak that much French. Though I also like that song.
[choroba]: So, I joined Pod Černư Vrch some months ago to still have the fun. But I wouldn't call it "punk" anymore...
[LanX]: choroba deaf after one rehearsal per year ?
Discipulus .. per ear!
[LanX]: LOL
[choroba]: we used to play more :)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-03-24 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.