[Dbix-class] Path for auto loading cursor_class to DBIx::Class::Storage::DBI

Matt S Trout dbix-class at trout.me.uk
Wed Sep 5 22:11:50 GMT 2007


On Mon, Aug 13, 2007 at 02:58:08PM +0800, Yiyi Hu wrote:
> Hello,
> The attachment is used for auto load cursor_class if the cursor_class
> option is supplied.

Appears to use UNIVERSAL::require, which is harmful. Use
Class::C3::Componentised's ensure_class_loaded function instead.

No tests.

Fix those and I'll be happy to apply it.

-- 
      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.shadowcat.co.uk/ 



More information about the DBIx-Class mailing list