FireBird34 has asked for the wisdom of the Perl Monks concerning the following question:

I am doing a small password prompt here via the terminal. How would I be able to take take the consol input, but show something different as the output? Basically I don't want the user to type down their password in plain view, but instead have it show up in "*****" when they type it in. Is this even possible?

Replies are listed 'Best First'.
Re: Terminal output vs user input
by data64 (Chaplain) on Feb 08, 2003 at 07:41 UTC

    This has been answered in the Perl FAQ


    Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd