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


<masak> ok, so I do this locally:
<masak> { my $fh = open("foo", :w) or die; $fh.print("OH HAI") }; say
slurp("foo")
<masak> I get an empty line back.
<masak> is it a bug?
<mberends> close the file to flush the buffer
<masak> mberends: I know.
<masak> mberends: the point is, shouldn't $fh close when it goes out of scope?
<masak> (that's why I have the {} there)
<mberends> OIC, it's a bug then
* masak submits rakudobug

Reply via email to