I also found David Cross' explanation of differing line end chars very helpful. See his book "Data Munging w/Perl", page 88-89. The topic is very well explained and it was an eye-opener to me when I was confused about new lines for different platforms. Sorry to point you to a book but I think David's book is excellent and his coverage of this particular topic is helpful.
Hello David. Sorry to be a book fan-boy but your Data Munging book is terrific. The chapters on parsing are beyond my *current* skill level but I read everthing else in your book cover-to-cover. Thanks for your quick post above as now I have more of your content available via the links you provide on your page. It's nice to be able to tell you that your book is one of my favorite Perl books.