my $hshref = { foo => scalar(func()), bar => "baz" };