in reply to optimizing code - need help
%hash = map { $_->[0] => $_ } @$array_ref;
Perhaps?
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: optimizing code - need help
by tilly (Archbishop) on Jan 19, 2001 at 22:36 UTC | |
by thaigrrl (Monk) on Jan 19, 2001 at 22:53 UTC |