P is for Practical | |
PerlMonks |
Re: perl command line argumentsby vladb (Vicar) |
on Jun 21, 2004 at 20:37 UTC ( [id://368548]=note: print w/replies, xml ) | Need Help?? |
You could try setting an environment variable and then accessing it in your perl command via the %ENV hash (works in tcsh shell):
Alternatively, you could set the $arg variable at the start of your perl command once:
_____________________ "We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California
In Section
Seekers of Perl Wisdom
|
|