if ($result = thatroutine()) { return $result; } #### if (my $result = thatroutine()) { return $result; }