You can use shift or read from @ARGV like so...
use strict; my $arg = shift; my @args = @ARGV; print "$arg\n"; foreach (@ARGV) { print $_, "\n"; }
Hope that helps :).
In reply to Re: command line arguments?
by cjf
in thread command line arguments?
by redemption
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |