Input loop: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
Thundergnat (talk | contribs) m (Fix Perl 6 -> Raku in comments) |
||
Line 2,282: | Line 2,282: | ||
(formerly Perl 6) |
(formerly Perl 6) |
||
In |
In Raku, filehandles etc. provide the <code>.lines</code> and <code>.words</code> methods which return lazy lists, and can thus they be iterated using a <code>for</code> loop... |
||
'''Line-by-line''' <small>''(line endings are automatically stripped)''</small> |
'''Line-by-line''' <small>''(line endings are automatically stripped)''</small> |