internally, I believe this is implemented as a while(COND) { ... } continue { ... }Yes, it is:
lorenzo@alice:~$ perl -MO=Deparse,-x3 -e 'for( my $i = 0; $i < 10; $i+ ++ ) {}' while ($i < 10) { ; } continue { ++$i } -e syntax OK
In reply to Re: Re: for, foreach and $_...
by larsen
in thread for, foreach and $_...
by Foggy Bottoms
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |