Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: perl hash array printing

by Rudolf (Pilgrim)
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];

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991718]
help
Chatterbox?
[ambrus]: herecy! meat (especially ground meat) and tomato together is a great basic recipe for various foodstuff. it's dairy product based sauces and tomato sauce that don't belong together.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-11-22 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (319 votes). Check out past polls.

    Notices?