Problems? Is your data what you think it is? | |
PerlMonks |
RE: use strictby jjhorner (Hermit) |
on Jun 07, 2000 at 19:05 UTC ( [id://16870]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|