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


r30374:
$ echo -n > empty
$  < empty ./perl6 -e 'say $*IN.slurp' # works, empty line

$  < empty ./perl6 -e 'say $*IN.slurp.WHAT' # yes
Str
$ < empty ./perl6 -e 'say $*IN.slurp.perl' # yes
""
$ $ < empty ./perl6 -e 'say split("\n", "a\nb\nc").perl' # this works too
["a", "b", "c"]
$  < empty ./perl6 -e 'say split("\n", $*IN.slurp)' # but this fails
Null PMC access in get_integer()
[...]
Segmentation fault

Reply via email to