pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Array-RefElem Added devel/p5-Array-RefElem ve...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b714265bf3bd
branches: trunk
changeset: 542957:b714265bf3bd
user: abs <abs%pkgsrc.org@localhost>
date: Fri May 30 12:03:27 2008 +0000
description:
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:
devel/p5-Array-RefElem/DESCR | 18 ++++++++++++++++++
devel/p5-Array-RefElem/Makefile | 19 +++++++++++++++++++
devel/p5-Array-RefElem/distinfo | 5 +++++
3 files changed, 42 insertions(+), 0 deletions(-)
diffs (54 lines):
diff -r 9058002cc534 -r b714265bf3bd devel/p5-Array-RefElem/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Array-RefElem/DESCR Fri May 30 12:03:27 2008 +0000
@@ -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 -r 9058002cc534 -r b714265bf3bd devel/p5-Array-RefElem/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Array-RefElem/Makefile Fri May 30 12:03:27 2008 +0000
@@ -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@localhost
+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 -r 9058002cc534 -r b714265bf3bd devel/p5-Array-RefElem/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Array-RefElem/distinfo Fri May 30 12:03:27 2008 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index