Replace custom SQL with calls to DBIx subroutines, for count of results by method
Warn instead of croak in equivalent() method, and get rid of eval statements; replace ->logger->warn by ->warn
Fixed spacing