On further investigation, the problem seems to be that the object is losing its namespace.
That's not it. Many people have successfully stored objects in pnotes before.
In the first handler (where I define the object and store it in pnotes) I'm logging the value of "ref $dbrecord" and getting the correct Class::Object value. In the second handler (where I retrieve the object from pnotes and try to access a method), I'm logging the "ref $dbrecord" and getting a blank ("").
Are you certain that you have the same request object in both cases? If your first handler is handling an index request, the second one might be a totally different request object. Check $r->is_initial_req().
- Perrin
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html