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.
This commit is contained in:
abs 2008-05-30 12:03:27 +00:00
parent 6b2f6aeab5
commit 2d07e3ffff
3 changed files with 42 additions and 0 deletions

View file

@ -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.

View file

@ -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"

View file

@ -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