Apache::Singleton might be useful for you. It stores the object in pnotes() so it gets cleaned up at the end of the request.

In reply to Re: mod_perl and forwarding legacy functions to a global object by perrin
in thread mod_perl and forwarding legacy functions to a global object by elusion

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":