To get things straight in my head.
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)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.