[Catalyst] myapp_local.yml gets ignored
    Ben Vinnerd 
    ben-catalyst at vinnerd.com
       
    Wed Jun 17 15:20:16 GMT 2009
    
    
  
On 17/06/09 16:13, Carl Vincent wrote:
> Are you sure that your config files are parsing correctly? I've had problems in the past (admittedly with YAML config files) with the files being silently ignored when there's a syntax error in them. This may be handled better in the latest versions.
Yeah i'm sure - if i load the config file manually from within 
lib/Myapp.pm, it works fine:
__PACKAGE__->config->{'Plugin::ConfigLoader'} = {file => 
'/home/motoring/Motoring/motoring_beta.conf'};
($ENV{MOTORING_CONFIG_LOCAL_SUFFIX} is set to "beta")
Ben
    
    
More information about the Catalyst
mailing list