in reply to Handling an embedded newline in an unquoted CSV field

Not that I am aware off. You're trapped.

If you know in advance how many fields each line should have, you could create your own parser based on this example.


Enjoy, Have FUN! H.Merijn
  • Comment on Re: Handling an embedded newline in an unquoted CSV field

Replies are listed 'Best First'.
Re^2: Handling an embedded newline in an unquoted CSV field
by 3dbc (Monk) on Dec 10, 2011 at 14:27 UTC
    DBD::CSV has always worked best for me with CSVs and lets me suck it all into an HoH, but not sure it would work with a file like the one you're describing, albeit what you're describing doesn't sound like a CSV in the conventional sense...