GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ARRAY::REFELEM (3)

.ds Aq ’

NAME

Array::RefElem - Set up array elements as aliases

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 REFELEM (3) 2003-12-18

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.