On Tue, May 22, 2007 at 05:14:53PM -0400, John Goulah wrote:
> Is it better to put module "use" statements within each controller class
> they are used in, or at some more global level , and if so where is
> suggested?

In each controller class a module's used.

This is more flexible and makes code re-use easier.

It's the perl way - anything else is just asking for trouble later :)

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

Reply via email to