Help for this page
if ( defined &{My::Foo::Bar::a_method} ) { ... }
no strict "refs"; if ( defined &{"${x}::a_method"} ) { ... }