http://qs321.pair.com?node_id=325254


in reply to Regex to do a smart split()

Greetings Anonymous,

I recommend you take a different approach by looking at DBD::CSV or Text:CSV, depending on your exact needs. I deal with a lot of database stuff, so the former feels more comfortable than the latter for me. However, the choice should be about how you want to use the data.

This is sort of a "buy vs build" argument, only it's "free vs build" in this case. As an extreme example, you can write your own HTML parser, but why bother when others have done your work for you?

gryphon
code('Perl') || die;