|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Are there argc and argv type functions in perlby btrott (Parson) |
| on Mar 10, 2000 at 22:41 UTC ( #5170=note: print w/ replies, xml ) | Need Help?? |
|
No such thing as $ARGC, as far as I know. But yes, you can use @ARGV to get the command line args. Something to be aware of is that is not the command name; it's the first argument. Also, check out the Getopt family of modules for automatically parsing your command line args: and more.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||