in reply to Re: Hiding password on commandline
in thread Hiding password on commandline
By the way, what does the 8 and 13 correspond to? I am sure that may have something to do with the problem.print " Enter your password:\n"; ReadMode 3; while($key = ReadKey()){ $val = ord $key; push @password, $key unless $val == 8 || $val == 13; last if $val == 13; print "*" unless $val == 8; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Hiding password on commandline
by Roger (Parson) on Jan 18, 2004 at 23:29 UTC | |
|
Re: Re: Re: Hiding password on commandline
by Anonymous Monk on Jan 18, 2004 at 22:48 UTC | |
by Anonymous Monk on Jan 18, 2004 at 22:59 UTC | |
by JamesNC (Chaplain) on Jan 19, 2004 at 00:09 UTC | |
by Anonymous Monk on Jan 19, 2004 at 14:27 UTC |