$ args=(one "two three" four "five six") $ perl -e 'for (@ARGV) {print "$_\n"}' "${args[@]}" one two three four five six