Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 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'}; syntax OK

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://648060]
[Eily]: I've posted my fourth root node on perlmonks and I haven't even been a monk for four years yet. I'm on fire \o/

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-03-24 14:38 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (304 votes). Check out past polls.