[catalyst] conditional loading of Controllers and Models
Matt S Trout
dbix-class at trout.me.uk
Mon Jul 16 14:18:08 GMT 2007
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/
More information about the Catalyst
mailing list