my $i; for $i ( 1 .. $N ) { last if ; ... } ## Here we have no way of knowing if we took an early exit; ## thus necessitating additional, unnecessary complexity to retain or discover that.