Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: seeking in hash data structure

by bsb (Priest)
on Jun 13, 2007 at 04:43 UTC ( #620875=note: print w/replies, xml ) Need Help??


in reply to seeking in hash data structure

use List::Util qw(reduce); my $item = reduce { $a->{$b} } $hash, @path_segments;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://620875]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2016-12-11 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.