Again, what is the compelling reason to throw an error with aliased 1 or "string" or undef???
The OP has an example.
Same league, it's not more logical at all.
Probably some implementation detail related to magic edge-cases like auto-vivification or so.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: Shouldn't references be readonly?
by LanX
in thread Shouldn't LITERAL references be readonly? (updated)
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |