if ( defined &{ "some::cool::${module}::method" } ) { &{ \&{ "some::cool::${module}::method" } }(some arguments); } else { ... }