Perl: the Markov chain saw | |
PerlMonks |
Re: Multiple Argumentsby moxliukas (Curate) |
on Jul 22, 2002 at 09:02 UTC ( [id://183983]=note: print w/replies, xml ) | Need Help?? |
Well, all the arguments are stored in @ARGV array, so you can get the length of it with
or alternatively, you can find the number of the last element with
I hope that helps...
In Section
Seekers of Perl Wisdom
|
|