Welcome to the Monastery | |
PerlMonks |
Re^12: ref to read-only alias ... why? (notabug)by dk (Chaplain) |
on Jan 06, 2012 at 22:10 UTC ( [id://946676]=note: print w/replies, xml ) | Need Help?? |
If I'm not mistaken, I believe that there's another issue you're trying to pull it here, namely difference between for(1) and for(1..3). They _do_ behave weirdly, I totally agree. But I believe that's a totally separate issue, probably related to parser even, because this code:
shows that $a is not aliased. Therefore I don't see how the original problem that needs a scalar be both aliased and read-only, is relevant here.
In Section
Seekers of Perl Wisdom
|
|