{local $_ = $bar; $foo = $_ if defined $_;}