At the moment my code declares some 'our' variables, some of which are in a BEGIN {} tag. It then uses VARS for each of those variables (I had to do this to stop strict from complaining) Later variables are defined with 'our' alone and strict doesn't complain (I guess it has something to do with the begin tag).
Your telling me that if I go through my whole program and change every 'our' to 'my' and add the variable to the VARS list it'll be global even though it was declared with my? Or if it's in the VARS list do I not put a my in front?
Sorry if I sound dense but it's 5:30am where I am and I've been working through the night (again).
Thanks
Lyle
(Suspecting he may have to give up and update all his scripts)
Comment on Re^2: Having one sub routine point to another
If it is in the use vars list, then do not put a my in front. You only need one or the other. You don't need to declare it other than in the use vars... just use it.
When it is no longer 5:30 am, read up on perldoc -f my and perldoc -f our and pick which one you really want in each case.