diff options
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -983,7 +983,7 @@ S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len, } } - if (topgv && GvREFCNT(topgv) == 1) { + if (topgv && GvREFCNT(topgv) == 1 && !(flags & GV_NOUNIVERSAL)) { /* cache the fact that the method is not defined */ GvCVGEN(topgv) = topgen_cmp; } |