This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
dano Let's say I get a file handle with open, for example $handle = open "wut.txt"; 17:53
What is the way in Raku of closing that handle automatically as I leave the scope in which the handle was defined? 17:54
nemokosch I wonder if there is such a way at all 18:02
gfldex dano: Filehandles are closed during GC run. If you open loads of FH and need to close them quickly, a LEAVE-phaser might be in order. 18:07
dano OK, thanks. I will need to read about phasers, haven't heard of them 18:14