|
|
| P is for Practical | |
| PerlMonks |
Re: Determine largest key in hashby MidLifeXis (Prior) |
| on Oct 04, 2011 at 17:39 UTC ( #929610=note: print w/ replies, xml ) | Need Help?? |
|
Is there a reason to use a hash instead of an array for the first layer (update: or even the dynamic data)?
Then, your code would instead be ...
I would rename dynamic_data to something more descriptive, of course. Perhaps a description or example of how you use the data or what it represents might help shake out an appropriate data structure. --MidLifeXis
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||