in reply to Re: Odd workings of split
in thread Odd workings of split

Yeah, had the limit argument in mind, but forgot to type it in. Good call.

And it’s nice to know Perl is smart enough to optimise things out like that!