Skip Menu |
 

This queue is for tickets about the UNIVERSAL-isa CPAN distribution.

Report information
The Basics
Id: 14454
Status: resolved
Priority: 0/
Queue: UNIVERSAL-isa

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



Subject: UNIVERSAL::isa does not support undef
Download (untitled) / with headers
text/plain 322b
UNIVERSAL::isa (the function) supports undef, returning false. UNIVERSAL::isa (the class) breaks any code that takes advantage of this. is( scalar(UNIVERSAL::isa(undef, 'Foo')), undef, 'isa on undef returns undef'); require UNIVERSAL::isa; is( scalar(UNIVERSAL::isa(undef, 'Foo')), undef, 'isa on undef returns undef');


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.