There's more than one way to do things | |
PerlMonks |
Re^3: Add array ref to another array refby talexb (Chancellor) |
on Jul 15, 2019 at 19:41 UTC ( [id://11102889]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|