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


in reply to Carrige Return and Line Feed in Perl.

will be chomped
Funny you should mention chomp :)

By no means will this answer all your questions, but here is a reference from the official docs: Newlines

  • Comment on Re: Carrige Return and Line Feed in Perl.