[Catalyst] Mason configuration in YAML
    Jon Warbrick 
    jw35 at cam.ac.uk
       
    Fri Dec  8 13:27:36 GMT 2006
    
    
  
On Thu, 7 Dec 2006, Kevin Old wrote:
> ...
> then in Mason.pm you can use it like this:
> package MyApp::View::Mason;
>
> use base 'Catalyst::View::Mason';
>
> __ PACKAGE__->config->{DEBUG} = 'all';
> __ PACKAGE__->config->{comp_root} = $c->config->{comp_root};
> __ PACKAGE__->config->{data_dir} = $c->config->{data_dir};
Er, can you? Where do you get $c from?
Jon.
-- 
Jon Warbrick
Web/News Development, Computing Service, University of Cambridge
    
    
More information about the Catalyst
mailing list