in reply to Spliting a TSV file on the basis of CRLF
or more readably like this:$/ = "\r\n";
You can also use $RS as a synonym for $/. See perlvar for the details.use English '-no_match_vars'; $INPUT_RECORD_SEPARATOR = "\r\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Spliting a TSV file on the basis of CRLF
by harsha.reddy (Acolyte) on Jan 02, 2008 at 07:55 UTC | |
by harsha.reddy (Acolyte) on Jan 02, 2008 at 10:27 UTC | |
by cdarke (Prior) on Jan 02, 2008 at 13:07 UTC |