NAME

UNIVERSAL::isa - Hack around stupid module authors using UNIVERSAL::isa as a function when they shouldn't.

SYNOPSIS

echo 'export PERL5OPT=-MUNIVERSAL::isa' >> /etc/profile

DESCRIPTION

Whenever you use "isa" in UNIVERSAL as a function, a kitten using Test::MockObject dies. Normally, the kittens would be helpless, but if they use UNIVERSAL::isa (the module whose docs you are reading), the kittens can live long and prosper.

This module replaces UNIVERSAL::isa with a version that makes sure that if it's called as a function on objects which override isa, isa will be called on those objects as a method.

In all other cases the real UNIVERSAL::isa is just called directly.

AUTHORS

Autrijus Tang <autrijus@autrijus.org>

chromatic <chromatic@wgz.org>

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT & LICENSE

Same as perl, blah blah blah, (c) 2005