[Catalyst] Context sensitive template locations

Zbigniew Lukasiak zzbbyy at gmail.com
Fri Nov 25 15:19:48 CET 2005


> > sub unshift_paths {
> >     my($self, @paths) = @_;
> >     unshift(@{$self->include_path}, @paths);
> > }
>
> Don't you want to rebuilt the path each time?  That looks like a
> small memory leak

Hmm.  The question is where to add the cleaning code.  Perhaps to the
process method?  How would this work with subrequests?  I cannot see
other situations when process would be called multiple times in one
request.

-- Zbyszek


More information about the Catalyst mailing list