diff options
author | sno <sno@pkgsrc.org> | 2013-07-03 08:52:50 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2013-07-03 08:52:50 +0000 |
commit | 27c5855865508a568aa65db44317efbf34ab861f (patch) | |
tree | 52758fd69de8b9f5b2a40be5f96f4dc11fcf624e /devel | |
parent | 9ddb8a32337b3f05ac6be30f98af221b0d892593 (diff) | |
download | pkgsrc-27c5855865508a568aa65db44317efbf34ab861f.tar.gz |
Adding package for CPAN distribution indirect version 0.30 into
devel/p5-indirect.
When enabled, this pragma warns about indirect method calls that are
present in your code.
This pragma currently does not warn for core functions (print, say, exec
or system). This may change in the future, or may be added as optional
features that would be enabled by passing options to unimport.
In http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal,
Matt S. Trout gives an example of an undesirable indirect method call on
a block that can cause a particularly bewildering error.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-indirect/DESCR | 10 | ||||
-rw-r--r-- | devel/p5-indirect/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-indirect/distinfo | 5 |
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-indirect/DESCR b/devel/p5-indirect/DESCR new file mode 100644 index 00000000000..605e3b64413 --- /dev/null +++ b/devel/p5-indirect/DESCR @@ -0,0 +1,10 @@ +When enabled, this pragma warns about indirect method calls that are +present in your code. + +This pragma currently does not warn for core functions (print, say, exec +or system). This may change in the future, or may be added as optional +features that would be enabled by passing options to unimport. + +In http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal, +Matt S. Trout gives an example of an undesirable indirect method call on +a block that can cause a particularly bewildering error. diff --git a/devel/p5-indirect/Makefile b/devel/p5-indirect/Makefile new file mode 100644 index 00000000000..1eda3dc968a --- /dev/null +++ b/devel/p5-indirect/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2013/07/03 08:52:50 sno Exp $ + +DISTNAME= indirect-0.30 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/V/VP/VPIT/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/indirect/ +COMMENT= Lexically warn about using the indirect method call syntax +LICENSE= ${PERL5_LICENSE} + +USE_LANGUAGES= c +PERL5_PACKLIST= auto/indirect/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-indirect/distinfo b/devel/p5-indirect/distinfo new file mode 100644 index 00000000000..a4018b53b74 --- /dev/null +++ b/devel/p5-indirect/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/07/03 08:52:50 sno Exp $ + +SHA1 (indirect-0.30.tar.gz) = d15b81040216b3a163537359de5661e654ccfbec +RMD160 (indirect-0.30.tar.gz) = d9ecd00b44e40a780239aed78ac98f67a2fc202a +Size (indirect-0.30.tar.gz) = 41721 bytes |