You could write a C-style for loop, or I guess you could do$x=0; $dont = pop @fields; foreach $field (@fields){ # and so on...do something with $dont or don't } push(@fields, $dont);
but that's a little inefficient.last if $x == $#fields -1;
In reply to Re: Restricting fields
by adamsj
in thread Restricting fields
by She-wolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |