./devel/p5-UNIVERSAL-isa, Hack around people calling UNIVERSAL::isa() as a function

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q1, Version: 1.20140927, Package name: p5-UNIVERSAL-isa-1.20140927, Maintainer: pkgsrc-users

Whenever you use UNIVERSAL::isa 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.


Master sites: (Expand)

SHA1: 48c8b8fad378146d7ee2389f9bf883b768116d4c
RMD160: 1f7d1e82f98d55a6a0f93e7abf5f231114f66162
Filesize: 27.44 KB

Version history: (Expand)