summaryrefslogtreecommitdiff
path: root/devel/p5-Class-WhiteHole
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2004-11-06 01:24:43 +0000
committerhe <he@pkgsrc.org>2004-11-06 01:24:43 +0000
commit056a75665d91ccbd1c7c5155cfa145cd1f66c03b (patch)
tree3f912bcb3d5bb7382c22675177f85e1fcb1bb1de /devel/p5-Class-WhiteHole
parent5c4eff6d408877f27196ff841d5460fff126afa5 (diff)
downloadpkgsrc-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/DESCR8
-rw-r--r--devel/p5-Class-WhiteHole/Makefile18
-rw-r--r--devel/p5-Class-WhiteHole/PLIST1
-rw-r--r--devel/p5-Class-WhiteHole/distinfo4
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