in reply to Re: split on comma unless within quotes...
in thread split on comma unless within quotes...

Consider that it is likely that:

  1. the time you spend writing, testing and debugging your own implementation will be greater than the time you spend installing the module on the servers
  2. your implementation will have less features than the existing modules
  3. the module you need is already installed on some of those servers

If you still think you want to roll your own, then Text::Balanced is a core module that can help you deal with quoted strings.

  • Comment on Re^2: split on comma unless within quotes...