Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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;


Comment on Re: seeking in hash data structure
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://620875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-07-06 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (69 votes), past polls