<code> "data","data","data","data" "data","data with new with new Line" "data"
It would be more consistent to put a comma between the two last fields, not just a blank.
If you do that, you can just feed the lines to Text::CSV. Or reinvent the wheel by crafting a clever regex, but that has been discussed here many times (try Super Search for CSV or "comma separated"), so I won't re-write the wheel.
In reply to Re^3: Reading Multiple lines
by moritz
in thread Reading Multiple lines
by mick2020
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |