in reply to Re: for, foreach and $_...
in thread for, foreach and $_...

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