Input loop
In Raku, filehandles etc. provide the .lines
and .words
methods which return lazy lists, and can thus they be iterated using a for
loop...
Line-by-line (line endings are automatically stripped)
Word-by-word
Last updated
In Raku, filehandles etc. provide the .lines
and .words
methods which return lazy lists, and can thus they be iterated using a for
loop...
Line-by-line (line endings are automatically stripped)
Word-by-word
Last updated