How can I enter a password using Perl and replace the characters with '*'?

Posted by MatthieuF on Stack Overflow See other posts from Stack Overflow or by MatthieuF
Published on 2009-03-31T13:54:15Z Indexed on 2010/04/02 17:23 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

I have a Perl script that requires the user to enter a password. How can I echo only '*' in place of the character that the user types, as they type it?

I'm using Windows XP/Vista.

© Stack Overflow or respective owner

Related posts about perl

Related posts about password