Well, when you add the "-w" option it will warn you of undeclared variables. Since you didn't declare variables, you get warnings. If you have a lot of errors, 'use strict' is stoping the interpretation.
'use strict' forces you to predeclare your variables. your script won't run without predeclaring with 'use strict'.
J. J. Horner Linux, Perl, Apache, Stronghold, Unix jhorner@knoxlug.org http://www.knoxlug.org/
In reply to RE: use strict
by jjhorner
in thread use strict
by Ignorance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |