my %H; for my $item (@bigarray) { push @{$H{$1}}, $item if ($item =~ /(A|B|C)/); }
In reply to Re^2: Fastest way to grep multiple time on some array
by holli
in thread Fastest way to grep multiple time on some array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |