diff options
author | Brian Fraser <fraserbn@gmail.com> | 2011-10-01 22:11:42 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-06 13:00:59 -0700 |
commit | 7f41545982b8820c303c4a89266aa26f0ebdccf0 (patch) | |
tree | eea92ca2a0aefea8073747112764249e725d515c /gv.c | |
parent | 44130a266efbc9cc333a3b386fd6ea15cbd3f9f3 (diff) | |
download | perl-7f41545982b8820c303c4a89266aa26f0ebdccf0.tar.gz |
gv.c: Make Gv_AMupdate use gv_fetchmethod_sv_flags
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2235,8 +2235,7 @@ Perl_Gv_AMupdate(pTHX_ HV *stash, bool destructing) "\" for overloaded \"%s\" in package \"%.256s\"\n", (void*)GvSV(gv), cp, HvNAME(stash)) ); if (!gvsv || !SvPOK(gvsv) - || !(ngv = gv_fetchmethod_autoload(stash, SvPVX_const(gvsv), - FALSE))) + || !(ngv = gv_fetchmethod_sv_flags(stash, gvsv, 0))) { /* Can be an import stub (created by "can"). */ if (destructing) { |