[CDBI] Annoying errors

Perrin Harkins perrin at elem.com
Tue Apr 15 18:45:01 BST 2008

On Tue, Apr 15, 2008 at 3:44 AM, Guy Morton <guy at alchemy.com.au> wrote:
>  Subroutine CDBI::Db::Table::sql_count_search_where redefined at /usr/
>  local/lib/perl5/site_perl/5.8.8/Ima/DBI.pm line 365.
>  search_count_search_where() already exists at /usr/local/lib/perl5/
>  site_perl/5.8.8/Class/DBI/Plugin/AbstractCount.pm line 13
>  I'm using Class::DBI::Loader to dynamically load a database in a
>  Catalyst session. Anyone know why that should cause these errors?

You only see it for that one subroutine?  Sounds like something is
repeatedly loading Class::DBI::Plugin::AbstractCount in the same perl
process and it isn't written to support that.

- Perrin

More information about the ClassDBI mailing list