[perl #132874] writing to utf16 handle gives write_fhb error

2018-02-16 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #132874] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132874 > This little program: my $fh = open 'test.txt', :w, :enc('utf16'); put "filehand

[perl #130020] [RFC][@LARRY] Create a set of conventions to minimize impact internal changes to user's code

2018-02-16 Thread Zoffix Znet via RT
Spotted another case where there's impact: whether or not a routine is a multi can have large impact on user's code. For example here: https://stackoverflow.com/questions/48819031/where-did-my-perl-6-operator-go-after-i-defined-a-more-specific-multi/48827522 As part of conventions, we'd need to

[perl #130020] [RFC][@LARRY] Create a set of conventions to minimize impact internal changes to user's code

2018-02-16 Thread Zoffix Znet via RT
Spotted another case where there's impact: whether or not a routine is a multi can have large impact on user's code. For example here: https://stackoverflow.com/questions/48819031/where-did-my-perl-6-operator-go-after-i-defined-a-more-specific-multi/48827522 As part of conventions, we'd need to

Re: [perl #130020] [RFC][@LARRY] Create a set of conventions to minimize impact internal changes to user's code

2018-02-16 Thread Elizabeth Mattijsen
I propose we change all onlies in the core to multis after the release and see how this breaks things / makes things slower. > On 16 Feb 2018, at 14:17, Zoffix Znet via RT > wrote: > > Spotted another case where there's impact: whether or not a routine is a > multi can have large impact on us

Re: [perl #130020] [RFC][@LARRY] Create a set of conventions to minimize impact internal changes to user's code

2018-02-16 Thread Elizabeth Mattijsen via RT
I propose we change all onlies in the core to multis after the release and see how this breaks things / makes things slower. > On 16 Feb 2018, at 14:17, Zoffix Znet via RT > wrote: > > Spotted another case where there's impact: whether or not a routine is a > multi can have large impact on us

[perl #130020] [RFC][@LARRY] Create a set of conventions to minimize impact internal changes to user's code

2018-02-16 Thread Zoffix Znet via RT
On Fri, 16 Feb 2018 05:52:09 -0800, elizabeth wrote: > I propose we change all onlies in the core to multis after the release > and see how this breaks things / makes things slower. +1. Let's try.

[perl #130020] [RFC][@LARRY] Create a set of conventions to minimize impact internal changes to user's code

2018-02-16 Thread Zoffix Znet via RT
On Fri, 16 Feb 2018 05:52:09 -0800, elizabeth wrote: > I propose we change all onlies in the core to multis after the release > and see how this breaks things / makes things slower. +1. Let's try.

[perl #130020] [RFC][@LARRY] Create a set of conventions to minimize impact internal changes to user's code

2018-02-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
On 2018-02-16 09:01:57, c...@zoffix.com wrote: > On Fri, 16 Feb 2018 05:52:09 -0800, elizabeth wrote: > > I propose we change all onlies in the core to multis after the release > > and see how this breaks things / makes things slower. > > +1. Let's try. Yeah, sounds good. +1

[perl #132874] writing to utf16 handle gives write_fhb error

2018-02-16 Thread Zoffix Znet via RT
On Fri, 16 Feb 2018 00:56:27 -0800, comdog wrote: > This little program: > > my $fh = open 'test.txt', :w, :enc('utf16'); > put "filehandle is using {$fh.encoding}"; > $fh.put: 'Some text'; > > Gives this error: > > filehandle is using utf16 > write_fhb requires a native arra

[perl #132874] writing to utf16 handle gives write_fhb error

2018-02-16 Thread Zoffix Znet via RT
On Fri, 16 Feb 2018 00:56:27 -0800, comdog wrote: > This little program: > > my $fh = open 'test.txt', :w, :enc('utf16'); > put "filehandle is using {$fh.encoding}"; > $fh.put: 'Some text'; > > Gives this error: > > filehandle is using utf16 > write_fhb requires a native arra