Jamie Risk wrote: > How would I split, then push onto a list a variable length text string > with quoted portions (example following) so that a split keeps text > in quotes together. > > "keep me together" separate1 separate2 separate3 "keep me together > too" separate4 > > If the above were parsed, I should like to see six separate elements. > Using 'split' with no parameters understandably gives me > eleven elements.
You really can't do this with split(). Use the Text::CSV_XS module from CPAN instead. <http://search.cpan.org/author/JWIED/Text-CSV_XS/> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]