Array::RefElem(3pm) - phpMan

Command: man perldoc info search(apropos)  


RefElem(3pm)                   User Contributed Perl Documentation                   RefElem(3pm)



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

SEE ALSO
       perlguts

COPYRIGHT
       Copyright 2000 Gisle Aas.

       This library is free software; you can redistribute it and/or modify it under the same
       terms as Perl itself.



perl v5.10.0                                2003-12-18                               RefElem(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-19 16:54 @38.107.179.236 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!