If you have the Perl Cookbook, check 15.10 on pages 529 and 530.
You can use the Term::Readkey from CPAN.
use Term::Readkey;
ReadMode('noecho');
$password = ReadLine(0);
That's the brief example they gave. A more elaborate example is in the book.
-Original Message-
From: Richard Low
> -Original Message-
> From: Richard Lowe [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 5:57 AM
> To: [EMAIL PROTECTED]
> Subject: Command line Password
>
>
> Hi,
>
> I'm trying to read in a password from the command prompt, but
> want to either
> mask the typed characters
On Thursday, July 25, 2002, at 02:57 , Richard Lowe wrote:
> The systems I'm using are Win32, and I'd rather not have to use any CPAN
> modules - I've been looking into tied filehandles, but can't work out
> what's
> required in the subroutines.
I presume that you are doing this in a 'dos comm