On Mon, Jan 20, 2020 at 19:03 Trey Harris <t...@lopsa.org> wrote: > On Mon, Jan 20, 2020 at 02:59 William Michels via perl6-users < > perl6-us...@perl.org> wrote: > >> Hi Yary (and Todd), >> >> Thank you both for your responses. Yary, the problem seems to be with >> "get". I can change 'while' to 'for' below, but using 'get' raku/perl6 >> actually returns fewer lines with "for" than it did with "while": > > > If you want to do line-oriented input, use `.lines` with `for`; it returns > something `for` can iterate over. >
Sorry, in a setting where a handle isn’t the context, I meant `lines`, not `.lines`, though I was referring _to_ a thing called `.lines`, the multi method. I don’t think we’ve all yet agreed on how multis that can be called as plain routines should be referred to in umbrella term. `.lines` is more “correct”, but it’s less likely to actually work without understanding more, which is a strange conundrum for documentation. Trey