Okay- Maybe I'm trying too hard here, but, if so, I'd appreciate a slap in
the face. Here's the project:
I've got information stored in a DBI-accessible database. I would like to
read this information from the database and populate an object with the
data (really just a tree of hashes). This database "dump" into the object
should occur at child-init (so, I'm guessing with a PerlChildInitHandler
directive). Then, I need to use the object functions/methods to navigate
the data in a content handler.
I tried passing the object using $r->notes(), but it didn't work. Then I
read somewhere the data in $r->notes() is destroyed after each request- so
of course that isn't going to work.
Essentially, I need to make this object persistent across requests in much
the same way Apache::DBI makes database connection handles persistent
across requests.
Can I make a variable scoped local to the child? Weird, huh?
Thanks in advance for your attention to this issue.
--
Doran L. Barton <[EMAIL PROTECTED]> - Chief Super Hero - Iodynamics LLC
< http://www.iodynamics.com/ > - Linux solutions and dynamic websites
"A good messenger expects to get shot." --- Larry Wall
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]