Perl Monk, Perl Meditation | |
PerlMonks |
Re (tilly) 1: Accessing deeply burried arrays of hashesby tilly (Archbishop) |
on Jan 25, 2001 at 04:12 UTC ( [id://54165]=note: print w/replies, xml ) | Need Help?? |
Suggestion. Dereference one at a time as you enter the
loop. The logic will be simpler, the syntax saner, and
by avoiding nested hash lookups your code will be faster
as well:
UPDATE Oops, forgot to do the second hash lookup. Fixed.
In Section
Seekers of Perl Wisdom
|
|