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

Marcello Romani mromani at ottotecnica.com
Tue Jun 6 08:41:43 CEST 2006


Marc Brooks ha scritto:
> 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.
> 
> 
> 
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
> 
> 

Sorry for the silly question, but have you tried renaming the method ?

-- 
Marcello Romani
Responsabile IT
Ottotecnica s.r.l.
http://www.ottotecnica.com



More information about the Catalyst mailing list