develooper Front page | perl.perl5.porters | Postings from April 2013

Re: [perl #54044] perl -wle '%::=();//' crash

Thread Previous | Thread Next
From:
Brian Fraser
Date:
April 9, 2013 05:09
Subject:
Re: [perl #54044] perl -wle '%::=();//' crash
Message ID:
CA+nL+nbCvasXJ9cBUj47Cg1gttjEPRgyBvxr2Qgm3mjG68FeMQ@mail.gmail.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About