my $method_ref = $obj_or_class->can('method'); #### my $method_name = 'method'; #### $obj_or_class->$method_ref() #### $obj_or_class->$method_name() #### $ref = sub { $obj_or_class->new(@_) }