MAN page from Old RedHat 6.X perl-Array-RefElem-0.02-6.i386.rpm
RefElem
Section: User Contributed Perl Documentation (3)
Updated: perl 5.005, patch 03
Index NAME
Array::RefElem - Set up array elements as aliases
SYNOPSIS
use Array::RefElem qw(av_store av_push hv_store);
av_store(@a, 1, $a); av_push(@a, $a); hv_store(%h, $key, $a);
DESCRIPTION
This module give direct access to some of the internal perl routinesthat let you store things in arrays and hashes. The followingfunctions are available:
- av_store(@array, $index, $value)
- Stores $value inside @array at the indicated $index. After this call$array[$index] and $value will denote the same thing.
- av_push(@array, $value)
- Push $value onto the @array. After this call $array[-1] and $valuewill denote the same thing.
- hv_store(%hash, $key, $value);
- Store $value in the %hash with the given $key. After this call$hash{$key} and $value will denote the same thing.
SEE ALSO
the
perlguts manpage
COPYRIGHT
Copyright 2000 Gisle Aas.
This library is free software; you can redistribute it and/ormodify it under the same terms as Perl itself.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- SEE ALSO
- COPYRIGHT
This document was created byman2html,using the manual pages.