in reply to DBIx::Class in a single file

See Is there a way setup a DBIC schema, result and resultset classes in one file?.