Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Add array ref to another array ref

by talexb (Chancellor)
on Jul 15, 2019 at 19:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11102889]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found