Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Slicing multilevel hashes

by bobf (Monsignor)
on Apr 07, 2005 at 18:57 UTC ( [id://445838] : note . print w/replies, xml ) Need Help??


in reply to Re: Slicing multilevel hashes
in thread Slicing multilevel hashes

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!