my $value = $hash{$arg} // func($arg // 'default');