...
Due to the hazard of mistyped variables, all variables should be declared before use.
Perl's -w
command-line option causes a warning to be issued for any variable name in the code that appears exactly once in the code, which might indicate a mistyped variable name.
Noncompliant Code Example
...