- or download this
our @arr; local *arr = sub { \@_ }->( my $one, my $two, my $three );
- or download this
use Data::Alias qw( alias );
alias my @arr = ( my $one, my $two, my $three );
- or download this
use feature qw( refaliasing );
...
\$arr[@arr] = \my $one;
\$arr[@arr] = \my $two;
\$arr[@arr] = \my $three;