The point with use strict 'vars' (which is what you seem to be falling over here) is not that you have to declare variables, but that you have to declare them in the right scope.
I can see declarations of the variables that you are getting errors on, but the errors are far away in different part of the program (on line 488). It looks like your variable names have gone out of scope by that point.
You either need to define your variables in a wider scope which covers all of their usage, or (far better) you need to pass the data into subroutines using parameters.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: problem with explicit package name
by davorg
in thread problem with explicit package name
by pskiz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |