in reply to Re^4: Replace commas with spaces between quotes, parsing CSV
in thread Replace commas with spaces between quotes, parsing CSV

If you can write a file (your code), you can usually write a second file (the pure perl lib suggested by Laurent_R), then use lib;. If you're editing an existing file in place with no other access, then this isn't a fix.