Is there an easy way to print out a Perl array with commas in between each element?
Writing a for loop to do it is pretty easy but not quite elegant....
I've not tried to run below, though. I think this's a tricky way.
map{print $_;} @array;