Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 exploiting the Monastery: (12)
As of 2015-07-03 11:13 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 (51 votes), past polls