![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^6: Shouldn't references be readonly?by LanX (Sage) |
on Aug 05, 2020 at 22:11 UTC ( #11120375=note: print w/replies, xml ) | Need Help?? |
you are aware that "constructor" isn't even mentioned in your definition? ;) calling [$a] a "literal constructor" is not far fetched. a non literal construction is in contrast to do { @a=($a); \@a } because it involves a variable. This it meets the definitions in perlglossary ("no variable") and is also mirrored in JS terminology which has 100% the same semantic.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|