more useful options | |
PerlMonks |
Re: Replace commas with spaces between quotes, parsing CSVby bart (Canon) |
on Apr 16, 2016 at 04:28 UTC ( [id://1160598]=note: print w/replies, xml ) | Need Help?? |
Here's mine, a different approach, based on the idea "replace what you want to keep by itself":
This requires a "fairly recent" perl, though I'm unsure exactly when s///r was introduced. For older (and for newer) perls, you can use the slightly more verbose:
In Section
Seekers of Perl Wisdom
|
|