Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: problem with array of hashes

by wirito (Acolyte)
on Oct 09, 2012 at 16:13 UTC ( #998037=note: print w/ replies, xml ) Need Help??


in reply to problem with array of hashes

With no restrictions, we can say that:
#! /usr/bin/perl my $VAR1 = [ { '201' => 'i', '101' => 'f', '41' => 't', } ]; print +(%{$VAR1->[0]})[4];

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-06-26 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (332 votes). Check out past polls.