[Catalyst-dev] Catalyst::View::ClearSilver broken

Matt S Trout dbix-class at trout.me.uk
Mon Aug 13 13:24:29 GMT 2007


You've used $self->config->{foo} to get at config, which breaks configuring
the view from MyApp->config and/or a config file.

Since you aren't providing your own new() method, you should just

__PACKAGE__->mk_ro_accessors(qw(hdfpaths loadpaths template_extension));

and use $self->hdfpaths instead of $self->config->{hdfpaths} etc.

Please can you fix this ASAP, you're the only one with maint on the
View::ClearSilver namespace so now Catalyst's ClearSilver support is broken
and you're the only one who can fix it :)

-- 
      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.shadowcat.co.uk/ 



More information about the Catalyst-dev mailing list