my @input = @ARGV; say @input = join(" ", @input); =head CLI and output, AS perl 5.18.4, Win 7: C:\>@argv_test.pl foo bar baz 'bat' "bitchin" foo bar baz 'bat' bitchin ^ ^ =cut