http://www.perlmonks.org?node_id=993199


in reply to Re: Extracting values from nested hashrefs
in thread Extracting values from nested hashrefs

Ah, sorry, my example was too simple. It should have been like this:

my $animals = { gnu => { humps => 0, mascot_for => 'emacs', }, dromedary => { humps => 1, mascot_for => 'perl', }, camel => { humps => 2, mascot_for => 'perl', }, };

BTW, implicit traversing is OK; I just wanted to avoid some sort of loop with , say while.

Thanks,

loris