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

Re: Nested (ARRAY|HASH)

by naikonta (Curate)
on Oct 30, 2007 at 16:51 UTC ( #648060=note: print w/ replies, xml ) Need Help??


in reply to Nested (ARRAY|HASH)

I like how bart explains it, I just wanted to let you know that the B::Deparse module helps to reveal your real structure, unlikely what you want :-)

$ perl -MO=Deparse 647981.pl use warnings; use strict 'refs'; my(@arr) = (12, 13, 14); my(%hash) = ('outer', ('cool', 1, 'Kewl', 2, 'odd')); print keys %hash, '||', values %hash, ' ', $hash{'2'}; 647981.pl syntax OK

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!


Comment on Re: Nested (ARRAY|HASH)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://648060]
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: (5)
As of 2014-09-22 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (180 votes), past polls