[Catalyst] strange namespace behavior for dbic : schema

Matt S Trout dbix-class at trout.me.uk
Fri Jun 8 18:50:46 GMT 2007


On Fri, Jun 08, 2007 at 12:11:10PM -0500, Guy Debord wrote:
> So is this not a good option if I want specific logic in Model::Foo but not
> Model::Bar ( I can't even create these without breaking )
> This seems to run contrary to my reading of the documentation and tutorials,

The tutorial uses DBIC::Schema exactly as I've described.

If you want additional logic, why not just add it to your My::Schema::Foo
etc. classes so it's available outside of Catalyst as well?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list