in reply to RE (tilly) 6: Load Balancing fun..
in thread Load Balancing fun..
However, I have three minor quibbles.
sub f { %hash = (1,2,3,4); return \%hash } *my_hash = f(); $my_hash{1}++;
No dereffing necessary, you have the speed of passing a reference combined with the speed of direct hash access.
-dlc (sans acidic tone ;-) )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE (tilly) 8 (quibbles): Load Balancing fun..
by tilly (Archbishop) on Oct 03, 2000 at 03:32 UTC |