[Catalyst] New Catalyst + TT problem

Zbigniew Lukasiak zzbbyy at gmail.com
Wed Dec 14 12:00:18 CET 2005


I am the author of the patch for additional_template_paths.  It is
possible that I ommited some case how the internal INCLUDE_PATH is created.
I now created following test view to test your case:
package TestApp::View::TT::Includepath2;

use FindBin;
use Path::Class;
use strict;
use base 'Catalyst::View::TT';

my @includepath = (dir($FindBin::Bin, '/lib/TestApp/root/test_include_path'));
   PRE_CHOMP          => 1,
   POST_CHOMP         => 1,
   INCLUDE_PATH        => \@includepath,


But it works for me.  I would be gratefull if we could talk about the
bug at the catalyst IRC channel.

-- Zbyszek
On 12/14/05, Nigel Metheringham
<nigel.metheringham at dev.intechnology.co.uk> wrote:
> On Wed, 2005-12-14 at 11:12 +0100, Albert Vila wrote:
> >  I've solved the problem using the
> > $c->stash->{additional_template_paths}.  However, I think some people is
> > using a similar solution to mine. Won't this option work anymore? I have
> > to switch to the additional_template_paths variable?
> I had the same problem.  Basically whereas the path you passed as config
> it used to be the whole path - and if that was a reference to an array
> it was checked each time through - now that is *part* of the entire
> path, and is expanded just once.
> I can live with it, but not convinced this is the best solution
> (although I don't have anything specifically better in mind).
>         Nigel.
> --
> [ Nigel Metheringham           Nigel.Metheringham at InTechnology.co.uk ]
> [ - Comments in this message are my own and not ITO opinion/policy - ]
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst

More information about the Catalyst mailing list