my (@a, @b); my %router = (a => \@a, b => \@b); foreach my $value (@temp) { push @{$router{$1}}, $2 if $value =~ /([ab])_(.*)/; } print "@a <==> @b";
In reply to Re^2: Can this code be optimized further?
by Roy Johnson
in thread Can this code be optimized further?
by samy_kumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |