Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 1.01
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (30 sloc) 1.159 kB
UNIVERSAL::isa
--------------
Version 1.01 - Fri Aug 22 05:29:08 UTC 2008
Attempt to recover from people calling UNIVERSAL::isa as a function
# from the shell
echo 'export PERL5OPT=-MUNIVERSAL::isa' >> /etc/profile
# within your program
use UNIVERSAL::isa;
# verbose reporting
use UNIVERSAL::isa 'verbose';
INSTALLATION
$ perl Build.PL
$ perl ./Build
$ perl ./Build test
$ sudo perl ./Build install
APOLOGIA
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,
when called as a function on objects which override "isa", "isa" will call the
appropriate method on those objects
In all other cases, the real "UNIVERSAL::isa" gets called directly.
AUTHORS
Audrey Tang <cpan@audreyt.org>
chromatic <chromatic@wgz.org>
Yuval Kogman <nothingmuch@woobling.org>
COPYRIGHT & LICENSE
Artistic License 2.0, (c) 2005 - 2008.
Jump to Line
Something went wrong with that request. Please try again.