![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^5: Shouldn't references be readonly? (updated)by LanX (Sage) |
on Aug 07, 2020 at 10:34 UTC ( #11120460=note: print w/replies, xml ) | Need Help?? |
> It would break some code I think if it comes to simple scalar types like strings this would result in a migration nightmare. Hence I wouldn't include the cases like $x.$y, <>, etc at least by default. Refs on the other hand should be immutable, because the result is always junk. But I doubt we have the resources to implement that anyway.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|