Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: seeking in hash data structure

by bsb (Priest)
on Jun 13, 2007 at 04:43 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://620875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found