in reply to Re^2: The @_ array and the lexical variables
in thread The @_ array and the lexical variables
orour @arr; local *arr = sub { \@_ }->( my $one, my $two, my $three );
oruse Data::Alias qw( alias ); alias my @arr = ( my $one, my $two, my $three );
use feature qw( refaliasing ); my @arr; \$arr[@arr] = \my $one; \$arr[@arr] = \my $two; \$arr[@arr] = \my $three;
|
|---|