my $i = 0; for ( 1 .. 100 ) { $i++; # statements $i = 200 if $i == 100 and defined $v; }