Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Recommendations for parsing invalid CSV

by Bloodnok (Vicar)
on Apr 22, 2008 at 13:51 UTC ( #682173=note: print w/replies, xml ) Need Help??

in reply to Recommendations for parsing invalid CSV

Hi ,

Why not try Text::xSV ?

... then you don't have to bother about such things.

From experience, the only thing that can't handle is a CSV export by Excel where a field is extraordinarily large (such that the field is split ... by Excel) ?

At last, a user level that best describes my experience :-))
  • Comment on Re: Recommendations for parsing invalid CSV

Replies are listed 'Best First'.
Re^2: Recommendations for parsing invalid CSV
by Tux (Canon) on Apr 23, 2008 at 06:26 UTC

    There might be several reasons for choosing the right   module. See here for a more thorrough discussion of the differences between the available CSV parsing modules.

    Note that this initial post is somewhat outdated, and some of the +/-'s might have changed. e.g. Text::CSV_XS not can deal very well with NULL (undef) values.

    Enjoy, Have FUN! H.Merijn

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://682173]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2023-06-03 03:47 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (6 votes). Check out past polls.