in reply to
Perl Catalyst and DBIx::Class best practice question.
Since I'm still in QA, currently I'm having a lot of that purple catalyst error screen whenever I did something wrong with the DBIx::Class(e.g creating a record with the wrong column name, or undefined as a parameter when searching for a record).
This sounds like you're not validating your input prior to passing it to your model. If so, then that's the root issue. And, frankly, it's going to be a root issue for a lot more than the PSOD.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?