[CDBI] tables with data_type column names

Paul Makepeace digitalcraftsmen.net at paulm.com
Tue Sep 20 01:54:24 BST 2005


I'm re-learning CDBI after quite an absence and have discovered a legacy
system I'm working on has a table with 'data_type' as a column name,
which clashes with an internal CDBI method.

The twist is that I'm trying to use the barely-documented
Class::DBI::Loader.

http://search.cpan.org/dist/Class-DBI/lib/Class/DBI.pm#Changing_Your_Column_Accessor_Method_Names
seems like it might've helped otherwise.

Anyone solved this? Not using ::Loader is an option if there's another
similarly dynamic option.

Thanks, Paul

-- 
Paul Makepeace .............................. http://paulm.com/inchoate/

"If I jingle, then all would be revealed."
   -- http://paulm.com/toys/surrealism/




More information about the ClassDBI mailing list