$ perl -we'my @a=qw( a b c ); my $x = (@a, "\n"); print $x' | od -c Useless use of private array in void context at -e line 1. 0000000 \n 0000001