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


in reply to Re: heredoc and carriers return
in thread heredoc and Carriage return

I suppose it's related to Perl being OS agnostic regarding \n when printing.

Please check the hex code of the here doc to see what is really embedded.

Edit: OK seems like the regex is supposed to do this.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!