W liście z wto, 26-08-2003, godz. 18:33, Jeff Zucker pisze: 
> Well, I thought so, and that's why AnyData works that way.  But CSV 
> worked with the "\015\012" default when I inherited it and there are too 
> many scripts out there based on that behaviour for me to contemplate 
> breaking backward compatibility.

Maybe 

chomp $line;
{ local $/ = "\r"; chomp $line }

Would help to remove both \015 and \012, or only \012, or only \015 from
the end of a line?

I use such construction in my scripts, because they can be 'fed' with
files created in MS Win environment, as well as in Unix environment.

Waldemar

Reply via email to