Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Hash of Hash of Hash of ...

by simonm (Vicar)
on Jul 12, 2005 at 16:12 UTC ( #474308=note: print w/ replies, xml ) Need Help??


in reply to Re: Hash of Hash of Hash of ...
in thread Hash of Hash of Hash of ...

There are also several pre-written implementations of this on CPAN. My Data::DRef module has functions to get and set values based on multiple-key lists like you're working with:

use Data::DRef qw( set_value_for_keys ); set_value_for_keys( \%big_hoh, $data, @key_list );


Comment on Re^2: Hash of Hash of Hash of ...
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474308]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-11-27 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (184 votes), past polls