in reply to Re: Fastest way to grep multiple time on some array
in thread Fastest way to grep multiple time on some array
my %H; for my $item (@bigarray) { push @{$H{$1}}, $item if ($item =~ /(A|B|C)/); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Fastest way to grep multiple time on some array
by wol (Hermit) on Feb 19, 2009 at 17:45 UTC |