in reply to
mod_perl and forwarding legacy functions to a global object
Apache::Singleton
might be useful for you. It stores the object in pnotes() so it gets cleaned up at the end of the request.
Comment on
Re: mod_perl and forwarding legacy functions to a global object
In Section
Seekers of Perl Wisdom