diff options
author | he <he@pkgsrc.org> | 2004-11-06 01:24:43 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2004-11-06 01:24:43 +0000 |
commit | 056a75665d91ccbd1c7c5155cfa145cd1f66c03b (patch) | |
tree | 3f912bcb3d5bb7382c22675177f85e1fcb1bb1de /devel/p5-Class-WhiteHole | |
parent | 5c4eff6d408877f27196ff841d5460fff126afa5 (diff) | |
download | pkgsrc-056a75665d91ccbd1c7c5155cfa145cd1f66c03b.tar.gz |
Import p5-Class-WhiteHole version 0.03.
Its possible to accidentally inherit an AUTOLOAD method. Often this
will happen if a class somewhere in the chain uses AutoLoader or
defines one of their own. This can lead to confusing error messages
when method lookups fail.
Sometimes you want to avoid this accidental inheritance. In that
case, inherit from Class::WhiteHole. All unhandled methods will
produce normal Perl error messages.
Diffstat (limited to 'devel/p5-Class-WhiteHole')
-rw-r--r-- | devel/p5-Class-WhiteHole/DESCR | 8 | ||||
-rw-r--r-- | devel/p5-Class-WhiteHole/Makefile | 18 | ||||
-rw-r--r-- | devel/p5-Class-WhiteHole/PLIST | 1 | ||||
-rw-r--r-- | devel/p5-Class-WhiteHole/distinfo | 4 |
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/p5-Class-WhiteHole/DESCR b/devel/p5-Class-WhiteHole/DESCR new file mode 100644 index 00000000000..a7a4388943e --- /dev/null +++ b/devel/p5-Class-WhiteHole/DESCR @@ -0,0 +1,8 @@ +Its possible to accidentally inherit an AUTOLOAD method. Often this +will happen if a class somewhere in the chain uses AutoLoader or +defines one of their own. This can lead to confusing error messages +when method lookups fail. + +Sometimes you want to avoid this accidental inheritance. In that +case, inherit from Class::WhiteHole. All unhandled methods will +produce normal Perl error messages. diff --git a/devel/p5-Class-WhiteHole/Makefile b/devel/p5-Class-WhiteHole/Makefile new file mode 100644 index 00000000000..364364c100f --- /dev/null +++ b/devel/p5-Class-WhiteHole/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/11/06 01:24:43 he Exp $ +# + +DISTNAME= Class-WhiteHole-0.04 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5cwh +CATEGORIES= perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://search.cpan.org/~mschwern/Class-WhiteHole-0.04/ +COMMENT= Perl5 module to ensure error on unhandled method calls + +USE_BUILDLINK3= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/WhiteHole/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Class-WhiteHole/PLIST b/devel/p5-Class-WhiteHole/PLIST new file mode 100644 index 00000000000..3e248a379d2 --- /dev/null +++ b/devel/p5-Class-WhiteHole/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/06 01:24:43 he Exp $ diff --git a/devel/p5-Class-WhiteHole/distinfo b/devel/p5-Class-WhiteHole/distinfo new file mode 100644 index 00000000000..a1c0445e29b --- /dev/null +++ b/devel/p5-Class-WhiteHole/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/11/06 01:24:43 he Exp $ + +SHA1 (Class-WhiteHole-0.04.tar.gz) = 59b984271a6a1bc5dda5c1dadd3706a77f5f386e +Size (Class-WhiteHole-0.04.tar.gz) = 3279 bytes |