Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: array of hashes

by punkish (Priest)
on Dec 06, 2010 at 02:36 UTC ( #875539=note: print w/replies, xml ) Need Help??


in reply to array of hashes

@a = ( {a => "ford", b => "red", c => "dog"}, {a => "honda", b => "blue", c => "cat"}, {a => "dodge", b => "orange", c => "spider"} ); say "$a[0]{a}, $a[1]{a}"

Other than that, shortening it doesn't achieve much. Unless, of course, there is more to this question than you are revealing.

--

when small people start casting long shadows, it is time to go to bed

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://875539]
help
Chatterbox?
[Discipulus]: good morning Corion and all monks!!
[Discipulus]: the whole weekend was dedicated to a marionette representation done for all the children of our family / clan and thei friend. 2+ hours divided in three acts + snack time

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-03-27 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (316 votes). Check out past polls.