[Catalyst] Re: is it CPAN worthy?
    Matt S Trout 
    dbix-class at trout.me.uk
       
    Fri Oct 12 17:37:42 GMT 2007
    
    
  
On Thu, Oct 11, 2007 at 10:14:57PM +0000, Fayland Lam wrote:
> Matt S Trout wrote:
> >On Wed, Oct 10, 2007 at 10:21:49PM +0000, Fayland Lam wrote:
> >>A module to let user pick components.
> >
> >You can pass any Module::Pluggable::Object search path / include / exclude
> >parameter via MyApp->config->{setup_components}.
> >
> >I don't see what this code achieves that can't already be done that way?
> >
> 
> I tried, but no luck? can y write an example?
__PACKAGE__->config(
  setup_components => { except => qr/Model::DontLoadThisModel/ }
);
is a simple one.
-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/
    
    
More information about the Catalyst
mailing list