I can check the method availability as below but don't know how to proceed further in term of my question:if ( defined &{ "some::cool::${module}::method" } ) { &{ \&{ "some::cool::${module}::method" } }(some arguments); } else { ... }
if ( "some::cool::${module}"->can("method") ) { ???
In reply to Elegant way to call a method by siberia-man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |