[Catalyst] additional_template_paths in Catalyst::View::TT 0.21

Zbigniew Lukasiak zzbbyy at gmail.com
Wed Jan 11 09:57:43 CET 2006


1. The additional paths are added at the beginning of the INCLUDE_PATH
not at the end. This needs to be fixed in the POD.

2. There is an accessor to the reference to the INCLUDE_PATH array -
include_path.  This perhaps needs to be added to the POD as well.  If
you use it you take full responsibility over it and you need to
remember that the template provider is being used between requests and
subrequests and if you just add to it without cleaning this can be a
memory leak.

-- Zbyszek


On 1/7/06, Will Hawes <info at whawes.co.uk> wrote:
> additional_template_paths can be used to add to the end of INCLUDE_PATH
> for Template Toolkit. IMO it should also be possible either to add to
> the start of INCLUDE_PATH, or to set INCLUDE_PATH in it entirety. I
> currently do the latter with a custom view - would anyone else like to
> see this functionality in Catalyst::View::TT?
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst


More information about the Catalyst mailing list