On Fri 18.Mar'11 at 14:43:24 +0000, Dave Mitchell wrote: > On Fri, Mar 18, 2011 at 12:22:07AM -0700, Jan Dubois wrote: > > I have implemented this (at runtime, not compiletime) with the attached > > patch. "local $_" will strip *all* types of magic from $_, not just > > tie() magic, so it doesn't matter what $_ has been aliased too, it is > > always safe to localize it. It does not affect localization of any > > other scalars, so File::chdir is unaffected. > > > > It obviously needs additional tests, and changes to perlsub.pod, but > > I would first like to get a ruling from Jesse if this is acceptable > > for blead, and ideally a review from Dave if the patch could have > > any other side-effects that I have overlooked. > > It looks good to me. I'm ok with this. thanks, everybody.Thread Previous | Thread Next