summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/lib/strict/vars1
-rw-r--r--toke.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/t/lib/strict/vars b/t/lib/strict/vars
index f7f8a1cf0d..de517078be 100644
--- a/t/lib/strict/vars
+++ b/t/lib/strict/vars
@@ -396,7 +396,6 @@ our $foo;
EXPECT
"our" variable $foo redeclared at - line 9.
(Did you mean "local" instead of "our"?)
-Name "Foo::foo" used only once: possible typo at - line 11.
########
--FILE-- abc
diff --git a/toke.c b/toke.c
index 3046bb535c..79a2cf59b5 100644
--- a/toke.c
+++ b/toke.c
@@ -5233,7 +5233,7 @@ S_pending_ident(pTHX)
gv_fetchpv(SvPVX(sym),
(PL_in_eval
? (GV_ADDMULTI | GV_ADDINEVAL)
- : TRUE
+ : GV_ADDMULTI
),
((PL_tokenbuf[0] == '$') ? SVt_PV
: (PL_tokenbuf[0] == '@') ? SVt_PVAV