{
    "mode": "perldoc",
    "parameter": "Array::RefElem",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Array%3A%3ARefElem/json",
    "generated": "2026-06-11T08:45:19Z",
    "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 that let you store things\nin arrays and hashes. The following functions are available:\n",
            "subsections": [
                {
                    "name": "av_store",
                    "content": "Stores $value in @array at the specified $index. After executing this call, $array[$index]\nand $value denote the same thing.\n"
                },
                {
                    "name": "av_push",
                    "content": "Pushes $value onto the @array. After executing this call, $array[-1] and $value denote the\nsame thing.\n"
                },
                {
                    "name": "hv_store",
                    "content": "Stores $value in the %hash with the given $key. After executing this call, $hash{$key} and\n$value denote the same thing.\n"
                }
            ]
        },
        "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 under the same terms as\nPerl itself.\n",
            "subsections": []
        }
    },
    "summary": "Array::RefElem - Set up array elements as aliases",
    "flags": [],
    "examples": [],
    "see_also": []
}