I think that changing include paths is evil.
I recommend you to create multiple Xslate instances with their own cache paths.
BTW, I have created the Xslate mailing list
(http://groups.google.com/group/xslate). Join it and you'll get
responses soon.
On Thu, Jun 23, 2011 at 6:37 PM, Maxim Gurets <m.gu...@ftl-consult.ru> wrote:
> Hi!
>
> We are using Xslate instead of TT.
> I would like to be able to dynamically add the path to the templates.
> See
> http://search.cpan.org/~abraxxa/Catalyst-View-TT-0.36/lib/Catalyst/View/TT.pm#DYNAMIC_INCLUDE_PATH
>
> But Xslate caches templates are not the full path. So found a template
> cached for all paths once.
>
> Maybe you will think how to fix it?
>
> Thanks.
>
>
>
--
Fuji, Goro (藤 吾郎)