in reply to Trouble with DBIx::Class

It's not that it is smart, it's that it tries to be proper. Bad schemata are a clash for that. Many to many is not a true relationship though and that might be what you're running into(?). You can define it manually though and get quite a bit of DWIM behavior.

Replies are listed 'Best First'.
Re^2: Trouble with DBIx::Class
by digger (Friar) on Dec 07, 2015 at 22:31 UTC

    This is a situation where management allowed the customer to define the schema instead of the dba. The issue I presented turned out to be one of many issues. It was only 13 tables, so I wrote the queries and built the relationships by hand. It is an import script that runs once a year and not worth spending hours trying to make DBIx::Class work.

    Thanks for your input!