Originally this was a separate message in gv.c, with an exception
listed in diag.t
d5713896ec merged several functions together, changing the exception
to ‘Bad symbol for %s’.
bb85b28a added diag_listed_as in the wrong place.
de6f7947 moved it to the right place, removing the diag.t entry.
But all this time ‘Bad symbol for scalar’ remained undocumented.
(P) An internal request asked to add a hash entry to something that
wasn't a symbol table entry.
+=item Bad symbol for scalar
+
+(P) An internal request asked to add a scalar entry to something that
+wasn't a symbol table entry.
+
=item Bareword found in conditional
(W bareword) The compiler found a bareword where it expected a