
Spurious "Possible typo" warnings
Quote:
(James M. Stern) writes:
|> I'm a perl newbie. When I run the following script -w:
|> [It uses $a and format STDOUT_TOP.]
|> I get "Possible typo" warnings on _a_ and STDOUT_TOP.
|> When I add:
|> $a .= "";
|> just below $a=1, the _a_ warning disappears but the STDOUT_TOP
|> warning remains. [How to get rid of it?]
It later occurred to me that format STDOUT_TOP and variable $STDOUT_TOP
would probably hash to the same thing. So I created and used variable
$STDOUT_TOP. It works. I'm still looking for a slicker way. The perl
typo checking is marvelous. Can it be made even better?
|> --
|> Jim Stern -- These views are my own, not my employer's.
--
Jim Stern -- These views are my own, not my employer's.