develooper Front page | perl.perl5.porters | Postings from February 2008

Re: [perl #51092] [PATCH] Segfault when calling ->next::method onnon-existing package

Thread Previous | Thread Next
From:
David Landgren
Date:
February 27, 2008 05:49
Subject:
Re: [perl #51092] [PATCH] Segfault when calling ->next::method onnon-existing package
Message ID:
47C56A62.20709@landgren.net
Rafael Garcia-Suarez wrote:
> On 25/02/2008, Rafael Garcia-Suarez <rgarciasuarez@gmail.com> wrote:
>> Thanks for this patch. Another alternative would be probably to
>>  autovivify the package name, if possible.
> 
> That's what I applied :

Minor quibble (I'm way behind on sumamrising)

> +    # Test with non-existing class (used to segfault)

I thought the general movement these days was to embed the bug number in 
the test

> +    eval { Qux->foo() };
> +    is($@, '', "->next::can on non-existing package name");

so

is($@, '', "->next::can on non-existing package name (RT bug #51092)");

David

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