[perl #62170] Rakudo retains the Perl 5 behavior of trimming trailing fields

2009-01-11 Thread Carl Mäsak via RT
On Sat Jan 10 09:45:05 2009, masak wrote: > rakudo: " a b c".split(/ <.sp>+ /).perl.say > rakudo 35344: OUTPUT«["", "a", "b", "c"]␤» > oh, and the p5 behavior of trimming trailing fields is not in p6 > (for split) > * masak submits rakudobug TimToady pointed out that Rakudo actually does as

Re: [perl #62170] Rakudo retains the Perl 5 behavior of trimming trailing fields

2009-01-11 Thread Carl Mäsak
Pm (>), Carl (>>): >> rakudo: " a b c".split(/ <.sp>+ /).perl.say >> rakudo 35344: OUTPUT«["", "a", "b", "c"]␤» >> oh, and the p5 behavior of trimming trailing fields is not in p6 >> (for split) >> * masak submits rakudobug > > This looks totally correct to me. What output are you expecting

Re: [perl #62170] Rakudo retains the Perl 5 behavior of trimming trailing fields

2009-01-10 Thread Mark J. Reed
On Sun, Jan 11, 2009 at 12:20 AM, Patrick R. Michaud wrote: > On Sat, Jan 10, 2009 at 09:45:06AM -0800, Carl Mäsak wrote: >> rakudo: " a b c".split(/ <.sp>+ /).perl.say >> rakudo 35344: OUTPUT«["", "a", "b", "c"]␤» >> oh, and the p5 behavior of trimming trailing fields is not in p6 >> (for

Re: [perl #62170] Rakudo retains the Perl 5 behavior of trimming trailing fields

2009-01-10 Thread Patrick R. Michaud
On Sat, Jan 10, 2009 at 09:45:06AM -0800, Carl Mäsak wrote: > rakudo: " a b c".split(/ <.sp>+ /).perl.say > rakudo 35344: OUTPUT«["", "a", "b", "c"]␤» > oh, and the p5 behavior of trimming trailing fields is not in p6 > (for split) > * masak submits rakudobug This looks totally correct to m

[perl #62170] Rakudo retains the Perl 5 behavior of trimming trailing fields

2009-01-10 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #62170] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62170 > rakudo: " a b c".split(/ <.sp>+ /).perl.say rakudo 35344: OUTPUT«["", "a", "b", "c"