The same way you'd make a reference to any other structure: the backslash operator:
my $p = \$a[2];
In reply to Re: a reference to an element of an array or hash: how to create?
by FunkyMonk
in thread a reference to an element of an array or hash: how to create?
by arifsaha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |