S
Seebs
This is probably a FAQ, but I've been unable to figure out the right search
terms to use to look it up.
I want to have a common file loaded by multiple programs which sets a
variable, which they then use.
If a given program only uses this variable once, it then produces:
Name "main::catdb" used only once: possible typo at dbdump.cgi line 7.
or something similar.
This is "obviously harmless", but I *hate* having warnings, and I want it
to go away.
Is there a way for me to tell perl that names encountered in a file I'm
loading should count towards the number of uses of those names, so I don't
get this?
I don't want to do:
$x = $x;
just to suppress this, but I will if I have to.
-s
terms to use to look it up.
I want to have a common file loaded by multiple programs which sets a
variable, which they then use.
If a given program only uses this variable once, it then produces:
Name "main::catdb" used only once: possible typo at dbdump.cgi line 7.
or something similar.
This is "obviously harmless", but I *hate* having warnings, and I want it
to go away.
Is there a way for me to tell perl that names encountered in a file I'm
loading should count towards the number of uses of those names, so I don't
get this?
I don't want to do:
$x = $x;
just to suppress this, but I will if I have to.
-s