in reply to Re: Command-line arguments to command-line Perl
in thread Command-line arguments to command-line Perl
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Command-line arguments to command-line Perl
by BrowserUk (Patriarch) on Oct 04, 2010 at 09:52 UTC |