[Catalyst] Context sensitive template locations
Bill Moseley
moseley at hank.org
Fri Nov 25 14:53:38 CET 2005
On Fri, Nov 25, 2005 at 12:08:57PM +0100, Zbigniew Lukasiak wrote:
> Below is my version with an 'unshift_paths' function for adding
> additional paths by controllers.
>
> 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.
--
Bill Moseley
moseley at hank.org
More information about the Catalyst
mailing list