[Catalyst] Class::DBI, Controller::Root, set_sql "redefined"

Marc Brooks marc at xconcepts.com
Tue Jun 6 01:36:13 CEST 2006


This is more of any annoying error message if anything.  So bear with me.

Basically I am setting global template variables (TT) within the
Controller::Root to be used within all the template pages within the
application.  Everything works with exception to this annoying warning,
"Model::CDBI::Catalog::sql_category redefined at
/usr/lib/perl5/site_perl/5.8.3/Ima/DBI.pm".

I have narrowed the problem down to the Class::DBI set_sql() method and how
it temporarily creates a method sql_* within the Model::CDBI upon execution.

Anyone experience this or know of a solution to suppress this warning?

Is this something I should be worrying about?

Thank your time, Catalyst::Rocks.





More information about the Catalyst mailing list