$ perl -E 'my @name = qw{a b c}; say for @name' a b c #### $ perl -E 'my $name_ref = [qw{a b c}]; say for @$name_ref' a b c #### $ perl -E 'my @name = qw{a b c}; my $name_ref = \@name; say for @$name_ref' a b c
## $ perl -E 'my $name_ref = [qw{a b c}]; say for @$name_ref' a b c ##
## $ perl -E 'my @name = qw{a b c}; my $name_ref = \@name; say for @$name_ref' a b c