in reply to Re: set lineendings in Text::xSV
in thread set lineendings in Text::xSV

CRLF is a requirement for the csv.
Boris

Replies are listed 'Best First'.
Re^3: set lineendings in Text::xSV
by cdarke (Prior) on Apr 07, 2006 at 11:04 UTC
    If you are running this on Windows then it will insert the \r for you (unless the fh has binmode set). If running it on another platform then you can try setting $\ to "\r\n".
      Text::CSV_XS (if you can use it) can take either line endings automatically.
      the hardest line to type correctly is: stty erase ^H