in reply to Restricting fields
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;
|
|---|