Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Slicing multilevel hashesby bobf (Monsignor) |
on Apr 07, 2005 at 18:57 UTC ( [id://445838]=note: print w/replies, xml ) | Need Help?? |
Thanks for the speedy replies. I did use map to get a working solution (map{ $_->{d} } @hoh{@keys}) but I thought there might be another way to do it (thanks for the example). In the back of my mind I didn't think the @hoh{@keys}{d} idea was possible, but if it was then if anyone would know how to do it, it would be someone at Perl Monks!
In Section
Seekers of Perl Wisdom
|
|