Re: [Catalyst] Best place to set environment variables

2006-10-12 Thread Marc Logghe
framework Subject: Re: [Catalyst] Best place to set environment variables This would make a nice plugin: Catalyst::Plugin::Setenv. OK this is in svn as revision 5077 and on CPAN now. Test and enjoy. file: $CPAN/authors/id/J/JR/JROCKWAY/Catalyst-Plugin-Setenv-0.01.tar.gz size: 3277 bytes

Re: [Catalyst] Best place to set environment variables

2006-10-11 Thread Bill Moseley
On Wed, Oct 11, 2006 at 01:10:57PM +0200, Marc Logghe wrote: Hi, What is The Best Way (TM) to configure environment variables in Catalyst I have my app's setup() method read the yaml file. That would be an easy place to set environment vars that are stored in the yaml file. But, I use a

Re: [Catalyst] Best place to set environment variables

2006-10-11 Thread Jonathan Rockway
This would make a nice plugin: Catalyst::Plugin::Setenv. The YAML would look like: environment: FOO_BAR: 1 SOMETHING_ELSE: a value Regards, Jonathan Rockway On Wednesday 11 October 2006 11:01, Bill Moseley wrote: On Wed, Oct 11, 2006 at 01:10:57PM +0200, Marc Logghe wrote: Hi, What