in reply to Re: Can this code be optimized further?
in thread Can this code be optimized further?
my (@a, @b); my %router = (a => \@a, b => \@b); foreach my $value (@temp) { push @{$router{$1}}, $2 if $value =~ /([ab])_(.*)/; } print "@a <==> @b";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can this code be optimized further?
by Fletch (Bishop) on Feb 10, 2005 at 15:34 UTC | |
by Roy Johnson (Monsignor) on Feb 10, 2005 at 16:43 UTC |