![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^3: Shouldn't references be readonly?by dave_the_m (Monsignor) |
on Aug 05, 2020 at 17:33 UTC ( #11120331=note: print w/replies, xml ) | Need Help?? |
Perl doesn't have literal arrays. It has constructors which will create a reference to an anonymous array, where the elements of that array are initially assigned to by copying the values from a list which may or may not be literal. E.g.
Should @$ar1 and @$ar2 be treated differently, and if so, why? Dave.
In Section
Seekers of Perl Wisdom
|
|