in reply to (Yet Another) DBIx::Class Joins question
Since no one with a real answer has posted, I'll give my vague proto-answer.
If my boss handed me your code and said "Fix it", first I'd set:
BEGIN { use Carp; } $SIG{__DIE__} = sub { Carp::Confess(@_) }; $SIG{__WARN__} = sub { Carp::Cluck(@_) };
.. before loading the troublesome module.
Then I could figure out where it's breaking. I might then go read through the modules where it broke and see if I could figure out what it wants that it's not getting.
If that didn't immediately solve my problem, I'd build the example with the chairs, room, legs etc.. See if it really works. Maybe it doesn't. Maybe there's problem with your system, or some other installed module is out of date or who know what? Then I'd alter the example a piece at a time to make it into the thing I wanted until it broke, then I'd know what was really breaking it.
(Or, as often happens, it doesn't break and you have no idea why, when seemingly identical code broke only moments before... )
Hope that's helpful
--Pileofrogs
|
|---|