in reply to Re: Re: Regex to do a smart split()
in thread Regex to do a smart split()

No, its the other way around. Text::CSV works for more data than Text::CSV_XS. I never looked into what the issue was but the XS version is clearly inferior to the plain-perl version because it works when the other version flat-out fails.
  • Comment on Re: Re: Re: Regex to do a smart split()

Replies are listed 'Best First'.
Re^4: Regex to do a smart split()
by hardburn (Abbot) on Jan 30, 2004 at 19:19 UTC

    According to replies to Reading escaped data from a CSV, Text::CSV doesn't handle embedded newlines (Text::CSV_XS will as long as you use binary mode). Though after looking though those replies, Text::xSV looks even better.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    : () { :|:& };:

    Note: All code is untested, unless otherwise stated