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

Text::CSV_XS (if you can use it) can take either line endings automatically.
the hardest line to type correctly is: stty erase ^H