}
/* should call AUTOLOAD now? */
else {
-try_autoload:
- {
- const bool is_method = cLISTOP->op_last &&
- (cLISTOP->op_last->op_type == OP_METHOD_NAMED ||
- cLISTOP->op_last->op_type == OP_METHOD);
-
+try_autoload:
if ((autogv = gv_autoload4(GvSTASH(gv), GvNAME(gv), GvNAMELEN(gv),
- is_method)))
+ FALSE)))
{
cv = GvCV(autogv);
}
gv_efullname3(sub_name, gv, NULL);
DIE(aTHX_ "Undefined subroutine &%"SVf" called", SVfARG(sub_name));
}
- }
}
if (!cv)
DIE(aTHX_ "Not a CODE reference");