develooper Front page | perl.perl5.porters | Postings from June 2021

Re: RFC: Multiple-alias syntax for for

Thread Previous | Thread Next
David Nicol
June 22, 2021 18:07
Re: RFC: Multiple-alias syntax for for
Message ID:
Don't recall seeing this case discussed:

              my @iters = (undef,undef); # empty list would be run-time
              for @iters ( @iterees) {
                    ... #   $iters[0] is alias to even iterees, $iters[1]
is alias to odd ones
                    # if @iters changes size, next time through it gets
that many

"Lay off that whiskey, and let that cocaine be!" -- Johnny Cash

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