in reply to Taking Input And Running In Script
$ USERNAME=jim PASSWORD=spekkio perl script.pl
Then the code could:
print $ENV{USERNAME}, $ENV{PASSWORD}
However, this approach also has some pitfalls, and you must be VERY careful with it... but at least it's better than having your password in the process table :P
--
perl -e "print qq/just another perl hacker who doesn't grok japh\n/"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Taking Input And Running In Script
by hostux (Initiate) on Jul 31, 2002 at 19:06 UTC | |
by derby (Abbot) on Jul 31, 2002 at 20:16 UTC | |
by aseidas (Beadle) on Jul 31, 2002 at 20:18 UTC |