Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 taking refuge in the Monastery: (2)
As of 2016-07-30 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (264 votes). Check out past polls.