in reply to Re^2: Text::CSV_XS and line-endings
in thread Text::CSV_XS and line-endings

Although in that case OP is pretty stuffed in any case. He would almost have to write a replacement for CVS_XS to deal with the problem - no fun at all!


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^4: Text::CSV_XS and line-endings
by Jenda (Abbot) on Mar 17, 2006 at 09:32 UTC
Re^4: Text::CSV_XS and line-endings
by samtregar (Abbot) on Mar 16, 2006 at 22:44 UTC
    Well, that's the case we're in (I work with friedo). If nothing else will work we can just use mac2unix if a scan of the first part of the file sees \r's and no \n's. It's a nasty hack but much better than reimplementing Text::CSV_XS!

    -sam

      In that case it looks like hack it must be. :(


      DWIM is Perl's answer to Gödel