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
David Landgren
February 27, 2008 05:49
Re: [perl #51092] [PATCH] Segfault when calling ->next::method onnon-existing package
Message ID:
Rafael Garcia-Suarez wrote:
> On 25/02/2008, Rafael Garcia-Suarez <> 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");


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


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About