# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #112276]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112276 >


<moritz> p6: say $*IN.slurp.comb(/e/).elems
<p6eval> rakudo 4373f0, niecza v15-6-gefda208: OUTPUT«88␤»
<masak> r: say slurp.comb(/e/).elems
<p6eval> rakudo 4373f0: OUTPUT«===SORRY!===␤CHECK FAILED:␤Calling
'slurp' will never work with no arguments (line 1)␤Expected any of:␤
 :(Any $filename)␤»
<masak> how come lines() defaults to $*IN, but slurp() doesn't?
<moritz> not $*IN, $*ARGFILES
<moritz> ... and I don't know
<masak> they feel somehow analogous.
<moritz> agreed
* masak patches the spec
<masak> oh, and S32/IO already has it that way. it's just that Rakudo
doesn't implement it.
* masak submits rakudo todo-ticket
<moritz> masak: now spectesting a fix
<masak> moritz++

Reply via email to