daniel.my $index = 1; foreach my $number (@numlist) { unless ($index == $number) { print "..."; last; } $index ++; }
In reply to Re: Validate array of numbers in sequence
by wirrwarr
in thread Validate array of numbers in sequence
by AcidHawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |