Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6758fef89a
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (30 sloc) 1.179 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
UNIVERSAL::isa
--------------

Version 1.03 - Mon Jun 22 20:34:08 UTC 2009

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, Copyright (c) chromatic 2005 - 2009.
Something went wrong with that request. Please try again.