Keep It Simple, Stupid | |
PerlMonks |
Expect.pm and passwordby perlknight (Pilgrim) |
on Feb 13, 2002 at 22:12 UTC ( [id://145298]=perlquestion: print w/replies, xml ) | Need Help?? |
perlknight has asked for the wisdom of the Perl Monks concerning the following question:
All, Here's a snap of a code: $scp=Expect->spawn("/usr/bin/scp -r \"$srcpath\" ${dest_host}:$destpa th") ... print $scp("password")This echoes the password in clear text to screen, I don't want this. Is there a way to have it print "****" or just blanks?
Back to
Seekers of Perl Wisdom
|
|