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.
00:05 habere-et-disper left 00:54 jgaz left 06:13 razetime joined 06:38 siavash joined 06:49 razetime left 07:36 siavash2 joined 07:39 siavash left, siavash joined 07:42 siavash2 left 07:45 siavash left 07:50 siavash joined 07:55 siavash2 joined 07:56 siavash left 08:00 siavash2 left 08:05 siavash joined 08:10 siavash left, siavash joined 08:14 siavash left 08:22 siavash joined 08:46 Tirifto_ joined 08:48 kjp_ joined 08:53 kjp left, Tirifto left 09:35 siavash left 09:37 siavash joined 10:32 ab5tract joined
librasteve sushi: you can try a '$' anonymous state variable like this... 10:41
for 'xxx.txt'.IO.lines -> $line { say $++ ~ ": $line" } 10:45
^^ the $ is just a state variable in the loop that ++ increments on each pass
10:47 ab5tract left 12:41 razetime joined 13:23 siavash left 14:18 jgaz joined 15:33 razetime left