http://qs321.pair.com?node_id=303103

Q&A > arrays > How do I print an array with commas separating each element? - Answer contributed by Roy Johnson

$" can also be used for this:

local $" = ','; print "@arr\n";