summaryrefslogtreecommitdiff
path: root/devel/p5-Array-RefElem
diff options
context:
space:
mode:
authorabs <abs>2008-05-30 12:03:27 +0000
committerabs <abs>2008-05-30 12:03:27 +0000
commit5595c040986f4fd270e63e95fec183fd62f2e6c3 (patch)
tree96ef9c851bb1c813c11d7fb311e68aa725211923 /devel/p5-Array-RefElem
parentf8d43600df06eb9692548ed4840cc880c94c5e45 (diff)
downloadpkgsrc-5595c040986f4fd270e63e95fec183fd62f2e6c3.tar.gz
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.
Diffstat (limited to 'devel/p5-Array-RefElem')
-rw-r--r--devel/p5-Array-RefElem/DESCR18
-rw-r--r--devel/p5-Array-RefElem/Makefile19
-rw-r--r--devel/p5-Array-RefElem/distinfo5
3 files changed, 42 insertions, 0 deletions
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