ok, I'll spill ... !

I'll run one version of the site in "translate" mode - the "members"
there are actually translators, they login and ... translate. Hence
there is a model/controller that has all that stuff

Of course I could just leave it in for the prod site, but I'd rather
just have those components not load at all ...


On 7/16/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
On Mon, Jul 16, 2007 at 02:48:50PM +0200, Daniel McBrearty wrote:
> is there a way to have some C's and M's load into catalyst
> conditionally? for example, if some config variable is set?

Exclude some of them with setup_components config.

Or just do it via @INC manipulation - I use this a fair bit for testing.

Depends what you're trying to achieve really, and you haven't told us :)

--
      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/

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/



--
Daniel McBrearty
email : danielmcbrearty at gmail.com
http://www.engoi.com
http://danmcb.vox.com
http://danmcb.blogger.com
find me on linkedin and facebook
BTW : 0873928131

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to