|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^2: Still don't undersand "Modification of a read-only value attempted" errorby Eliya (Priest) |
| on Jun 20, 2012 at 22:39 UTC ( #977498=note: print w/ replies, xml ) | Need Help?? |
|
in both cases, it is eventually assigned to $item. No, nothing is being assigned to $item. Rather, in the error case, $item becomes an alias, i.e. an alternate way to access the same instance of the constant string "abcdef".
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||