hmm.
\r\n is not a Perl5 compatibility issue. WIndows uses \r\n by default while
\r is used on Linux and Mac. So, you have to convince Microsoft to change
WIndows behavour not Perl :-)

greetings
wolf

On 8 October 2015 at 17:49, Yasuhiro Matsumoto via RT <
perl6-bugs-follo...@perl.org> wrote:

> On 2015-3月-08 日 23:41:49, wbi...@gmx.at wrote:
> > Hi,
> >
> > Following script on Windows:
> >
> > use v6;
> >
> > my $fh = open('test.txt', :w);
> >
> > $fh.say("hello");
> > $fh.say("Perl6");
> >
> > $fh.close;
> >
> > produced following file:
> >
> > helloPerl6
> >
> > Also on Windows say uses \n instead of \r\n
> >
> > THX
>
> I think using \r\n is non-sense in 2015. We can use \n instead of \r\n.
> Why need \r\n? Let's throw away such as compatibility with Perl5. Many perl
> users on windows have been plagued by differences of each OS.
>
>

Reply via email to