in reply to chomp() function and windows text format

You might be using binmode on your file handle, in which case the '\r' removal is not done automagically.
  • Comment on Re: chomp() function and windows text format