[Maypole] Turning off CDBI::Loader in Maypole?
Jesse Sheidlower
jester@panix.com
Mon, 12 Jul 2004 22:33:37 -0400
I have a database with about a dozen tables in it; of these,
about five are self-contained for a single app. (They all
relate to each other in a broader way, but for this one app
I can ignore the rest.)
I set up Maypole for dealing with this app, and set up the
classes myself, without using CDBI::Loader::Relationship. I'm
only looking at the five tables for this. However, when I run
it, I get the following warning in my Apache log:
Column 'first' in MyDB::Uslib clashes with built-in method
at
/usr/local/lib/perl5/site_perl/5.8.4/Class/DBI/Loader/mysql.pm
line 24
The "uslib" table has nothing to do with my application, and I
don't declare it anywhere, and I don't mention Loader in any
of my setup things. Is there any way I can shut Loader down
entirely so it doesn't try to set up all of these other
tables? Or prevent it from looking at the tables it has no
business in seeing? And, when I do get around to using this
table, will I have a problem because one of my columns is
called "first"?
Thanks.
Jesse Sheidlower