# New Ticket Created by  Jan-Olof Hendig 
# Please include the string:  [perl #129242]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129242 >


Tested with:

dogbert@dogbert-VirtualBox ~/.rakudobrew/moar-nom $ perl6 -v
This is Rakudo version 2016.08.1-151-g20ed9e2 built on MoarVM version
2016.08-43-g3d04391
implementing Perl 6.c.

# the problem

dogbert@dogbert-VirtualBox ~/.rakudobrew/moar-nom $ perl6 -e 'dd
123456.split("", :skip-empty)'
("", "1", "2", "3", "4", "5", "6", "")

# as can be seen the result contains two empty strings
# compare with

dogbert@dogbert-VirtualBox ~/.rakudobrew/moar-nom $ perl6 -e 'dd
"123456".split("", :skip-empty)'
("1", "2", "3", "4", "5", "6")



# some discussion on irc, contains results from bisectable, commitable etc

http://irclog.perlgeek.de/perl6/2016-09-10#i_13184978

/dogbert17

Reply via email to