in reply to split on comma-separated fields, where a field may have commas inside quotes

I'd recommend Text::xSV. Take advantage of someone else's good work!

The problem may seem brain-dead simple, but it isn't. There are lots of edge cases to look out for.
  • Comment on Re: split on comma-separated fields, where a field may have commas inside quotes