Help for this page
$val="FOO"; $method="${val}::mySub"; if (exists &$method) {...}
if ($val->can("mySub")) { ... }