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

> I can't find it documented anywhere

I'm to busy now, but you might wanna look into open which mentions a IO layer called :crlf or encoding or other docs mentioned in the footnotes ...

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

Replies are listed 'Best First'.
Re^3: heredoc and carriers return
by choroba (Cardinal) on Oct 25, 2016 at 12:15 UTC
    Neither open nor encoding describe how they influence Perl's parsing of multiline string literals.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,