RosettaCodeData/Task/Input-loop/Perl-6/input-loop-5.pl6

4 lines
49 B
Raku

for "filename.txt".IO.words -> $word {
...
}