New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LAST does not work with -n in Rakudo #5374
Comments
From @masak$ perl6 --version $ perl6 -e 'for 1, 2, 3 { last if /2/; say $_; LAST { say "hi" } }' $ cat > numbers $ <numbers perl6 -ne 'last if /2/; say $_; LAST { say "hi" }' Both loops correctly `last` before printing "2\n". But the -n loop |
From @zoffixznet♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥ TODO-Fudged tests added in Raku/roast@ca52ecc150 🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁 |
The RT System itself - Status changed from 'new' to 'open' |
From @masak<killbill> Why I don't see last line? $ perl6 -ne 'LAST .say' file.txt I could reproduce locally that `perl6 -ne 'LAST .say'` does not print $ perl6 -v |
Migrated from rt.perl.org#128398 (status was 'open')
Searchable as RT128398$
The text was updated successfully, but these errors were encountered: