Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...