http://www.perlmonks.org?node_id=427229


in reply to Newlines: reading files that were created on other platforms

Is the person using OS X or the older Mac OS? OS X is BSD Unix underneath, so it should have just the newline "\n".

Really, though, the problem is probably in the FTPing. I've run into this before, more times than I can count, and the individual needs to be sure to transfer the file in ASCII mode. Any FTP program worthy of the name should know to handle that. In fact, by correcting the user, you might save problems later on another mixed-platform project.

Just my $.02.

--
tbone1, YAPS (Yet Another Perl Schlub)
And remember, if he succeeds, so what.
- Chick McGee