[CDBI] Can't override db_Main

Ryan Tate lists at ryantate.com
Sun Jan 28 18:31:51 GMT 2007

On 1/27/07, Perrin Harkins <pharkins at gmail.com> 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:


"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.


More information about the ClassDBI mailing list