http://qs321.pair.com?node_id=738372


in reply to Re: DBIx::Class "Can't call method 'select' on an undefined value"
in thread DBIx::Class "Can't call method 'select' on an undefined value"

load_classes() ensures everything is hooked together properly. It's a bit of side-effect magic that mst isn't thrilled with, but at least it's (mostly) all in one place. Go talk in #dbix_class@irc.perl.org if you really want to understand more.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?