On 1 Oct 2000 06:40:08 -0000, Perl6 RFC Librarian wrote:

>Perl 5 split does five things that I think are just annoying, and
>which I suggest be removed:

I've got one more problem.

        for my $i (0 .. 4) {
            $_ = ':' x $i;
            my @a = split /:/, "", -1;
            my $count = @a;
            print "$i - $count\n";
        }
-->
        0 - 0
        1 - 2
        2 - 3
        3 - 4
        4 - 5

See the jump at the front?

-- 
        Bart.

Reply via email to