my $obj = Class->new; my $func = $obj->can('some_method'); #### $obj->$func(...);