On Fri Jan 13 13:16:42 2012, patcat88 wrote: > On Sun Jan 08 14:21:34 2012, sprout wrote: > ................................ > > Taking a reference to $_ twice should not create references to two > > different variables. The implementation details are leaking through. > > > I'll add my PerlMonks discussion to this > http://www.perlmonks.org/?node_id=941973 . PADTMPs should always be > copied (or sv body stolen ??), not referenced. srefgen/S_refto and newRV > do different things but they should be the same. PADTMPs are supposed to > be allocated and dealloced on block enterance/leaving, but under the > hood are effectively closures or C function level static. Its a mess. This part is not resolved. I’m reopening it. -- Father ChrysostomosThread Previous | Thread Next