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

Re^3: Add array ref to another array ref

by talexb (Canon)
on Jul 15, 2019 at 19:41 UTC ( #11102889=note: print w/replies, xml ) Need Help??


in reply to Re^2: Add array ref to another array ref
in thread Add array ref to another array ref

When you see the square brackets [], that's an arrayref (a reference to an array). When you see braces {}, that's a hashref (a reference to a hash).

So the first VAR1 that you see is an arrayref with a single element, which is a hashref. The second VAR1 is just a hashref.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-01-21 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?