From 2d07e3ffffb56a9abcca254101175f1599fe6a62 Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 30 May 2008 12:03:27 +0000 Subject: Added devel/p5-Array-RefElem version 1.00 This module gives direct access to some of the internal Perl routines that let you store things in arrays and hashes. The following functions are available: av_store(@array, $index, $value) Stores $value in @array at the specified $index. After executing this call, $array[$index] and $value denote the same thing. av_push(@array, $value) Pushes $value onto the @array. After executing this call, $array[-1] and $value denote the same thing. hv_store(%hash, $key, $value); Stores $value in the %hash with the given $key. After executing this call, $hash{$key} and $value denote the same thing. --- devel/p5-Array-RefElem/DESCR | 18 ++++++++++++++++++ devel/p5-Array-RefElem/Makefile | 19 +++++++++++++++++++ devel/p5-Array-RefElem/distinfo | 5 +++++ 3 files changed, 42 insertions(+) create mode 100644 devel/p5-Array-RefElem/DESCR create mode 100644 devel/p5-Array-RefElem/Makefile create mode 100644 devel/p5-Array-RefElem/distinfo (limited to 'devel') diff --git a/devel/p5-Array-RefElem/DESCR b/devel/p5-Array-RefElem/DESCR new file mode 100644 index 00000000000..c49cf5929a2 --- /dev/null +++ b/devel/p5-Array-RefElem/DESCR @@ -0,0 +1,18 @@ +This module gives direct access to some of the internal Perl routines +that let you store things in arrays and hashes. The following +functions are available: + +av_store(@array, $index, $value) + + Stores $value in @array at the specified $index. After executing + this call, $array[$index] and $value denote the same thing. + +av_push(@array, $value) + + Pushes $value onto the @array. After executing this call, + $array[-1] and $value denote the same thing. + +hv_store(%hash, $key, $value); + + Stores $value in the %hash with the given $key. After executing + this call, $hash{$key} and $value denote the same thing. diff --git a/devel/p5-Array-RefElem/Makefile b/devel/p5-Array-RefElem/Makefile new file mode 100644 index 00000000000..24c1e236c84 --- /dev/null +++ b/devel/p5-Array-RefElem/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/05/30 12:03:27 abs Exp $ +# + +DISTNAME= Array-RefElem-1.00 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Array/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/perldoc?Array::RefElem +COMMENT= Set up array elements as aliases + +USE_LANGUAGES= c +PERL5_PACKLIST= auto/Array/RefElem/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Array-RefElem/distinfo b/devel/p5-Array-RefElem/distinfo new file mode 100644 index 00000000000..1e06a527de2 --- /dev/null +++ b/devel/p5-Array-RefElem/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/05/30 12:03:27 abs Exp $ + +SHA1 (Array-RefElem-1.00.tar.gz) = ff2966ffb64338176d18c2f3ebb5075954b2949e +RMD160 (Array-RefElem-1.00.tar.gz) = f9ff68cb95e8c6713c4fba7de697d611ad622cc8 +Size (Array-RefElem-1.00.tar.gz) = 2030 bytes -- cgit v1.2.3