# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #60482] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60482 >
<masak> ...but now I've found something. seriously! <masak> rakudo: say "foo\nbar\nbaz".trans([ /\s+/ => " " ]) <p6eval> rakudo 32543: OUTPUT[foo bar baz] <masak> all good, yes? <masak> now look: <masak> rakudo: for "foo\nbar\nbaz".split( /\n ** 2..*/ ) { say .trans([ /\s+/ => " " ]) } <p6eval> rakudo 32543: OUTPUT[too few arguments passed (2) - 3 params expectedcurrent instr.: '_block25' pc -342568903 ((unknown file):-1)] <masak> HAH! * masak files ticket