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.
In reply to Re^2: How to hide a password in a script?
by beable
in thread How to hide a password in a script?
by dataking
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |