In pp_entersub, replace gv_fetchpv() with gv_fetchpvs().
authorNicholas Clark <nick@ccl4.org>
Sat, 22 Aug 2009 17:08:06 +0000 (18:08 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 22 Aug 2009 17:08:06 +0000 (18:08 +0100)
pp_hot.c

index 8416eee..a78f022 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2765,7 +2765,7 @@ try_autoload:
             PL_curcopdb = PL_curcop;
          if (CvLVALUE(cv)) {
              /* check for lsub that handles lvalue subroutines */
-            cv = GvCV(gv_HVadd(gv_fetchpv("DB::lsub", GV_ADDMULTI, SVt_PVHV)));
+            cv = GvCV(gv_HVadd(gv_fetchpvs("DB::lsub", GV_ADDMULTI, SVt_PVHV)));
              /* if lsub not found then fall back to DB::sub */
             if (!cv) cv = GvCV(PL_DBsub);
          } else {