http://qs321.pair.com?node_id=11120150


in reply to Re: Split fake, an emulation of split
in thread Split fake, an emulation of split

use strict; use warnings; use 5.010; # From https://perldoc.perl.org/5.30.1/functions/split.html: # and each of these: print join(':', split(//, 'abc', 3)), "\n"; print join(':', split(//, 'abc', 4)), "\n"; # produces the output a:b:c __DATA__ Output: a:b:c a:b:c:

Replies are listed 'Best First'.
Re^3: Split fake, an emulation of split
by ikegami (Patriarch) on Aug 01, 2020 at 06:42 UTC

    ah yes. You weren't very clear, so I misunderstood what you meant. That is indeed a documentation bug. Did you report it?

      You weren't very clear I didnt read the thred