Syntactic Confectionery Delight | |
PerlMonks |
Re: scoped namespace?by BrowserUk (Patriarch) |
on Jun 17, 2003 at 00:02 UTC ( [id://266340]=note: print w/replies, xml ) | Need Help?? |
Your question is a bit sketchy on the details of what you doing. In particular, what you mean by showing up where it's not supposed to, but I think that you might be able to use package scoping to achieve you aim.
I think that would get you part way to your goal at least. Any vars created would be in the 'other' package space, and so isolated from your code. This would probably work well if any vars created were overwritten with the new data each time the code was invoked, but if new variables are created each time, then the old ones would persist and you would have a memory leak which wouldn't bode well in a mod_perl environment. Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
In Section
Seekers of Perl Wisdom
|
|