go ahead... be a heretic | |
PerlMonks |
Re^3: Perl6: Capturing newline in a stringby raiph (Deacon) |
on May 31, 2016 at 16:51 UTC ( [id://1164626]=note: print w/replies, xml ) | Need Help?? |
I just noticed your SO has some answers. Perhaps those give you the info you need and what follows is redundant but maybe not, and I'd already written this, so:
ETA: This bit from Sinan's post:
We don't do any such translation when using .encode/.decode, and of course when reading/writing Bufs to files, providing an escape hatch from translation if needed. reads to me like a very direct claim that there's a way to read and write files without translating newlines. Hth.
perl6.party (not mine)
In Section
Seekers of Perl Wisdom
|
|