in reply to Splitting strings with enclosed delimiters

Have you tried Text::Balanced ?

update: Text::ParseWords looks more like what you want.

  • Comment on Re: Splitting strings with enclosed delimiters