diff options
author | abs <abs@pkgsrc.org> | 2008-06-23 03:46:48 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2008-06-23 03:46:48 +0000 |
commit | c4ceba37367280889441ce3b8698de7ab27de2f1 (patch) | |
tree | 03ed4437c39d95fe106504bbbfa0906bca153dc0 /devel/p5-UNIVERSAL-isa | |
parent | 7b44674b6a059fae0996e88404f9e153cc35e07a (diff) | |
download | pkgsrc-c4ceba37367280889441ce3b8698de7ab27de2f1.tar.gz |
Import p5-UNIVERSAL-isa-0.06
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.
WWW: http://search.cpan.org/dist/UNIVERSAL-isa/
Diffstat (limited to 'devel/p5-UNIVERSAL-isa')
-rw-r--r-- | devel/p5-UNIVERSAL-isa/DESCR | 12 | ||||
-rw-r--r-- | devel/p5-UNIVERSAL-isa/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-UNIVERSAL-isa/distinfo | 5 |
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/p5-UNIVERSAL-isa/DESCR b/devel/p5-UNIVERSAL-isa/DESCR new file mode 100644 index 00000000000..09cf8444816 --- /dev/null +++ b/devel/p5-UNIVERSAL-isa/DESCR @@ -0,0 +1,12 @@ +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. + +WWW: http://search.cpan.org/dist/UNIVERSAL-isa/ diff --git a/devel/p5-UNIVERSAL-isa/Makefile b/devel/p5-UNIVERSAL-isa/Makefile new file mode 100644 index 00000000000..bfa34068e78 --- /dev/null +++ b/devel/p5-UNIVERSAL-isa/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/06/23 03:46:48 abs Exp $ + +DISTNAME= UNIVERSAL-isa-0.06 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CH/CHROMATIC/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/UNIVERSAL-isa/ +COMMENT= Hack around people calling UNIVERSAL::isa() as a function + +DEPENDS+= p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils + +PERL5_MODULE_TYPE= Module::Build +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/UNIVERSAL/isa/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-UNIVERSAL-isa/distinfo b/devel/p5-UNIVERSAL-isa/distinfo new file mode 100644 index 00000000000..f258257c624 --- /dev/null +++ b/devel/p5-UNIVERSAL-isa/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/06/23 03:46:48 abs Exp $ + +SHA1 (UNIVERSAL-isa-0.06.tar.gz) = 18157acb7d765f8f25930950de9d2f3c4945cf79 +RMD160 (UNIVERSAL-isa-0.06.tar.gz) = 1645cfc7b389a4ba0ccf0b32444c62b3d2d951d1 +Size (UNIVERSAL-isa-0.06.tar.gz) = 4443 bytes |