Perl: the Markov chain saw | |
PerlMonks |
Re: mod_perl and forwarding legacy functions to a global objectby Zaxo (Archbishop) |
on Jun 25, 2004 at 17:52 UTC ( [id://369690]=note: print w/replies, xml ) | Need Help?? |
The old Legacy probably didn't have objects hanging around, so how about restricting the object to a lexical scope? Even just making the object a file scoped lexical would work, but I don't see a need to make a closure on it. After Compline,
In Section
Seekers of Perl Wisdom
|
|