Put an extra set of brackets in the script. '{' after the package name, and a '}' the end of the script. Now, everything is in scope, so nothing should be 'undef' unless you didn't define them.
Hope this helps...Ed
"Well done is better than well said." - Benjamin Franklin
In reply to Re: package variables turning suddenly to undef and back again depending on subfunction call
by flexvault
in thread package variables turning suddenly to undef and back again depending on subfunction call
by tobias_hofer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |