in reply to The Drivel is in the Details
my %newSource = %$source; # dereference it all at once foreach my $node(keys (%newSource)) { # note no %$ #... $newSource{$node}; # already dereferenced.
update I'm not recommending that you change the code, but showing a similar situation to explain the code. If you are thinking of changing the code, see the important caveat mentioned by Random_Walk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The Drivel is in the Details
by Anonymous Monk on May 29, 2007 at 22:28 UTC | |
|
Re^2: The Drivel is in the Details
by Random_Walk (Prior) on May 30, 2007 at 22:48 UTC |