perldoc > Array::RefElem

📛 NAME

Array::RefElem - Set up array elements as aliases

🚀 Quick Reference

Use CaseCommandDescription
Store an alias in an array elementav_store(@array, $index, $value)Store $value in @array at index, making $array[$index] and $value aliases
Push an alias onto an arrayav_push(@array, $value)Push $value onto @array, making last element and $value aliases
Store an alias in a hashhv_store(%hash, $key, $value)Store $value in %hash with key, making $hash{$key} and $value 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:

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

Array::RefElem
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📖 DESCRIPTION 🔗 SEE ALSO ÂŠī¸ COPYRIGHT

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-10 21:47 @216.73.216.11
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!