[Catalyst] Subclass Catalyst::View::TT to use Template::Foo instead of Template?

Tomas Doran bobtfish at bobtfish.net
Wed Jan 28 22:16:11 GMT 2009


On 28 Jan 2009, at 19:05, Larry Leszczynski wrote:
> Or would it make sense to modify Catalyst::View::TT to accept a new
> config argument like TEMPLATE_CLASSNAME (that defaults to "Template")?

That'd make perfect sense to me.

It'd probably also make sense to have the Template factory, and the  
associated configuration mangling be two separate public methods  
which could be overridden by subclasses to achieve more funky things  
than could be done with just config at the same time.

Cheers
t0m



More information about the Catalyst mailing list