Another objection, I don't think either of these should fail: $ ./perl -e '%:: = %::' Attempt to clear the %main:: symbol table at -e line 1. $ ./perl -e '%:: = map { $_ => $::{$_} } grep !/foo|bar/, keys %::;' Attempt to clear the %main:: symbol table at -e line 1. On Tue, Apr 9, 2013 at 2:09 AM, Brian Fraser <fraserbn@gmail.com> wrote: > On Tue, Apr 9, 2013 at 2:03 AM, Steffen Mueller <smueller@cpan.org> wrote: > >> On 04/08/2013 11:27 PM, Reini Urban via RT wrote: >> >>> On Mon Apr 08 11:36:23 2013, rurban wrote: >>> >>>> Oops, previous patch had a last minute typo in it (sv vs hv) >>>> >>>> Use this one instead. >>>> I'm smoking it now with my cpan subset to catch possible >>>> %{"$pkg\::"}=... cases with empty $pkg. >>>> >>> >>> Smoked my cpan successfully with this revised patch. >>> >> >> FWIW if nobody beats me to it or strongly objects I'll try to remember to >> apply this after 5.18. Feel free to remind me then as well. >> >> --Steffen >> > > My soft objection is that it doesn't really solve the underlaying issue, > it just hides it; perl -e 'delete $::{ENV}; chdir' will still fail. But > that's a reason to keep the ticket open, not one not to merge the patch. > >Thread Previous | Thread Next