The answer is "not like you are doing it". You would have to declare your CGi varibles inside your package (e.g. $query = new CGI;) and then pass them out of your package using EXPORTER. There is a comprehensive treatment of this here. I recommend copying the example whole and then building your module into that.
____________________
Jeremy
I didn't believe in evil until I dated it.
In reply to Re: Using a package within a package
by jepri
in thread Using a package within a package
by Red Neckerson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |