for( my $ix = 0; $ix < @ref; $ix++ ){ my $it = $ref[$ix]; if( $it =~ m/$in/i ){ print OUT $it,$ref[$ix+1]; } }
In reply to Re: Getting values for next array iteration when matching current
by Anonymous Monk
in thread Getting values for next array iteration when matching current
by naturalsciences
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |