if (defined(my $bar = expensive()) { $_ = $bar for $i1, $i2; }