Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Recommendations for parsing invalid CSV

by Bloodnok (Vicar)
on Apr 22, 2008 at 13:51 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found