in reply to Re^11: Shouldn't references be readonly?
in thread Shouldn't LITERAL references be readonly? (updated)
An alias is always a variable true, that's an obvious no-brainer.
But typeglob mechanisms are only a part of the way to create them.
Especially in for my $a (@a) { ... } there is no symbol table entry like you claimed. my $a is a private variable and an alias.
And newer Perl versions allow activating the feature for refaliasing too, again no symbol table.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: Shouldn't references be readonly?
by jo37 (Curate) on Aug 06, 2020 at 07:15 UTC | |
by LanX (Saint) on Aug 07, 2020 at 12:23 UTC |