in reply to Splitting a comma-delimited string where a substring could contain commas

I had a similar problem a while back, except I was concerned with quotes, not parens. Text::ParseWords helped me out quite a bit. I haven't really looked at the code for that module, but maybe it can give you an idea or two?
  • Comment on Re: Splitting a comma-delimited string where a substring could countain commas