{
    "mode": "info",
    "parameter": "Array::RefElem",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/Array%3A%3ARefElem/json",
    "generated": "2026-07-05T11:44:31Z",
    "synopsis": "use Array::RefElem qw(avstore avpush hvstore);\navstore(@a, 1, $a);\navpush(@a, $a);\nhvstore(%h, $key, $a);",
    "sections": {
        "NAME": {
            "content": "Array::RefElem - Set up array elements as aliases\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Array::RefElem qw(avstore avpush hvstore);\n\navstore(@a, 1, $a);\navpush(@a, $a);\nhvstore(%h, $key, $a);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module gives direct access to some of the internal Perl routines\nthat let you store things in arrays and hashes.  The following\nfunctions are available:\n\navstore(@array, $index, $value)\nStores $value in @array at the specified $index.  After executing\nthis call, $array[$index] and $value denote the same thing.\n\navpush(@array, $value)\nPushes $value onto the @array.  After executing this call,\n$array[-1] and $value denote the same thing.\n\nhvstore(%hash, $key, $value);\nStores $value in the %hash with the given $key. After executing\nthis call, $hash{$key} and $value denote the same thing.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "perlguts\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2000 Gisle Aas.\n\nThis library is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself.\n\nperl v5.34.0                      2022-02-06                      RefElem(3pm)",
            "subsections": []
        }
    },
    "summary": "Array::RefElem - Set up array elements as aliases",
    "flags": [],
    "examples": [],
    "see_also": []
}