http://www.perlmonks.org?node_id=901244


in reply to Help parsing a complicated csv

Well, you could have checked the format of your text, because it propably doesn't look like you intended.

If you would have used <c></c>-tags around your sample data, the format would be visible.

Directly below the form fields, where you compose your questions, are some text and several links, which advise you how to mark up your question, code and data.

With code-Tags your examples could look like this:

your 1st example:

heading 1, heading 2, heading 3 data, data, data data, data, data

your 2nd example:

heading 1, heading 2 data, data data, heading 3 data heading 4, heading 5 data, data