perl6 -e'say "a;b".split(";").perl'
["a", "b"]
but
perl6 -e'say split("a;b", ";")'
;
Gabor
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.
Cheers,
Moritz
and I even reported it as a bug
how embarrassing
I blame the hour.
Gabor