Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: heredoc and carriers return

by LanX (Sage)
on Oct 25, 2016 at 09:43 UTC ( #1174672=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1174672]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2021-10-24 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?