good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: ref to read-only alias ... why?by ikegami (Patriarch) |
on Jan 06, 2012 at 01:31 UTC ( [id://946514]=note: print w/replies, xml ) | Need Help?? |
The condition in which "\" copies a scalar is: SvPADTMP(sv) && !IS_PADGV(sv). Not sure that that means. The condition is still there in the latest codebase. It turns out that whether you get a read-only error or not depends on whether you are using a threaded Perl or not. Using the lastest codebase:
In Section
Seekers of Perl Wisdom
|
|