{ my $i; @statusoption = grep { $i or ($_ eq $status && ++$i) } @statusoption +; } [download]
In reply to Re: Grep question by Tanktalus in thread Grep question by hok_si_la