develooper Front page | perl.perl6.users | Postings from November 2019

for by 3?

Thread Next
ToddAndMargo via perl6-users
November 23, 2019 06:00
for by 3?
Message ID:
Hi All,

In a "for" loop, what is the syntax for "by 3"?

     for @x.lines by 3

In other words, every third line.

Many thanks,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About