Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Hiding password on commandlineby isotope (Deacon) |
on Jan 20, 2004 at 02:35 UTC ( [id://322503]=note: print w/replies, xml ) | Need Help?? |
Be sure to reverse the print and noecho:
For typical uses, the difference isn't noticeable, but if you'd ever used Expect, you'd be quick to make that change. Don't prompt for the password until you've ensured it won't echo, or there's the possibility that the password will be entered (and echoed) before you disable echo. --isotope
In Section
Seekers of Perl Wisdom
|
|