http://qs321.pair.com?node_id=380757


in reply to Re: How to hide a password in a script?
in thread How to hide a password in a script?

our $password = 'mysecret'; .... system( "command -p $password" ); ... ## If you print $password here, you get "mysecret"; ## But for the first time it was FETCH'd ONLY, ## it would be different.

Right, so I print the password before the system call, and then I get the real password. What are you gonna do? Go and change the password? This won't work at all.