my $meth = $obj->can('myFunction'); $obj->$meth(@args);