My take on this: "Literal references" don't exist in Perl, at least they don't appear in perldata. A literal reference would be something like ARRAY(0x557782f0a4c8), but you can't feed this to Perl.
The constructs {...} and [...] are anonymous, but not literals.
I fail to see a point in clobbering anonymous variables, but then I also fail to see why Perl should prevent it.
In reply to Re: Shouldn't references be readonly?
by haj
in thread Shouldn't LITERAL references be readonly? (updated)
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |