![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^5: Shouldn't references be readonly?by dave_the_m (Monsignor) |
on Aug 05, 2020 at 18:38 UTC ( #11120339=note: print w/replies, xml ) | Need Help?? |
Which of the following do you regard as a literal array:
I regard none of them as literal. [] {} are constructors; they are just syntactic sugar for a function which takes a list and returns a reference to an anonymous aggregate, e.g.
Dave.
In Section
Seekers of Perl Wisdom
|
|