Re: [CDBI] Can't override db_Main
"Ryan Tate" <lists-UNebACArQA1Wk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
On 1/27/07, Perrin Harkins <[email protected]> wrote: > Don't call connection. That creates a db_Main method. I figured it was something basic like this. However, this caveat is not specified in the wiki, and was not obvious to me after using CDBI and reading the mailing list for, well, several years now. So I have added a sentence to the CDBI wiki page: http://wiki.class-dbi.com/wiki/Using_with_mod_perl "Note that if you override db_Main like this, you should no longer use the "connection" method in your Class::DBI base class." Thanks for the help. Ryan