my $res = new Some::Package({ foo => bar })->subroutine;