$result = & { something_that_returns_coderef } ( @args ); #### & { $functions{$func} }(); #### $functions{$func}->();