my @array = qw/this that the other/; local $, = ", "; print @array[1..$#array], "\n"; __OUTPUT__ that, the, other #### my $last_item = (this, that, the, other)[-1]; #### my $list = [qw/this that the other/]; local $, = ", "; print @{$list}[0..$#{$list}];