in reply to
Re^2: set lineendings in Text::xSV
in thread
set lineendings in Text::xSV
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".
Comment on
Re^3: set lineendings in Text::xSV
Replies are listed 'Best First'.
Re^4: set lineendings in Text::xSV
by
aquarium
(Curate)
on Apr 07, 2006 at 11:59 UTC
Text::CSV_XS (if you can use it) can take either line endings automatically.
the hardest line to type correctly is: stty erase ^H
[reply]
In Section
Seekers of Perl Wisdom