Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
We don't bite newbies here... much
 
PerlMonks  

Re: perl hash array printing

by Rudolf (Monk)
on Sep 05, 2012 at 01:43 UTC ( #991718=note: print w/ replies, xml ) Need Help??


in reply to perl hash array printing

Hello, hope this helps a bit my example is with an annonymous array though:

use v5.14; my %hash = ('hello', => ['world','there']); print $hash{'hello'}[1];


Comment on Re: perl hash array printing
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2014-04-17 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls