in reply to How do I surround commas with escaped double-quotes?
$string= "This, that, and those"; $string =~ s/,/\\",\\"/g; print $string; [download]
This\",\" that\",\" and those [download]