{ my $tempvar = somefunc(); # do something with $tempvar } # $tempvar no longer exists here.