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
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');