On Thu, Mar 19, 2009 at 1:18 AM, Moritz Lenz <mor...@faui2k3.org> wrote:
> Gabor Szabo (via RT) wrote:
>> # New Ticket Created by  Gabor Szabo
>> # Please include the string:  [perl #63970]
>> # in the subject line of all future correspondence about this issue.
>> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63970 >
>>
>>
>> perl6 -e'say "a;b".split(";").perl'
>> ["a", "b"]
>>
>> but
>>
>> perl6 -e'say split("a;b", ";")'
>> ;
>
> In the sub form the delimiter still goes first (like in Perl 5), so it
> tries to split ';' by 'a;b', fails, and thus returns the whole string is
> one chunk. Works as designed.

and I even reported it as a bug

how embarrassing

I blame the hour.

Gabor

Reply via email to