You probably meant to do something like this:
my $beacon = shift @ARGV; my $begin_time = shift @ARGV; my $end_time = shift @ARGV; my @DAYS = @ARGV;
This will remove the first three elements of @ARGV and assigns the rest to @DAYS.
See shift for details.
In reply to Re: @ARGV: two different types of arguments
by moritz
in thread @ARGV: two different types of arguments
by steph_bow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |