What you can do is make a function that returns a valid database handle and call that from each of your modules. You can have this function do its own caching of the database handle for now (just stuff it into a global) and then when you switch to mod_perl you'll be able to change it to use Apache::DBI.
In reply to Re: Performance v's Maintainability
by perrin
in thread Performance v's Maintainability
by Ryszard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |