The most general you can do without a module is
my ($y) = map \$_, $x; # Reference to an alias.
my $y = sub { \@_ }->(@x); # Reference to an array of aliases.
In reply to Re: Alias vs Reference
by ikegami
in thread Alias vs Reference
by cheekuperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |