in reply to Array to list with quoted items
Combining a quoting construct in a map with a join seems to be less confusing to my eye.
$str = join q{, }, map qq{"$_"}, @arr; [download]
Cheers,
JohnGG