![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Add Hash Key Based on Matching Another Keyby Ratazong (Monsignor) |
on Jul 28, 2010 at 14:50 UTC ( [id://851729]=note: print w/replies, xml ) | Need Help?? |
What about using a nested hash instead of the array? That will save you the lookup-loop when updating an element...
HTH, Rata
In Section
Seekers of Perl Wisdom
|
|