in reply to help with "use strict" and code organization

Whenever I declare use strict; at the beginning of the script, perl spits out an error where a bunch of variables are wrong.

Look at the errors one at a time (start with the first one). There should be line numbers with the errors. Fix each error one at a time. You can get just those errors by running "perl -c your_program_name".

Perhaps Use strict and warnings (or one of the nodes it links to) will help.

  • Comment on Re: help with "use strict" and code organization