Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Command-line arguments to command-line Perlby RecursionBane (Beadle) |
on Oct 04, 2010 at 05:01 UTC ( [id://863252]=note: print w/replies, xml ) | Need Help?? |
Thanks for the suggestion, BrowserUk. I wasn't able to get this to work, because perl seemed to think that the argument was meant for it, rather than the script, and I ended up using suhailck's BEGIN() solution, instead. I do appreciate everyone's time and effort in helping me understand one of Perl's lesser-known functionalities! Thanks, everyone! ~RecursionBane
In Section
Seekers of Perl Wisdom
|
|