In article <suppressed>, Richard Dice wrote:
>
> If this is already implemented then please, point me at it. :-)
> Otherwise, here's a patch to CGI/Application.pm. (I'm currently
> implementing this for myself in my overloaded load_tmpl in my
> Superclass, but maybe it could be of more use to more people.
>
> suppressed:~/tmp/cgi-app$ diff Application.pm Application.pm-new
> 358c358,363
>< push(@extra_params, path => [ $tmpl_path ]) unless $found;
> ---
> > push(@extra_params,
> > path => [
> > ( ref($tmpl_path) eq 'ARRAY')
> > ? @$tmpl_path
> > : $tmpl_path
> > ]) unless $found;
>
I also use multiple search paths and am achieving this in a super class.
I agree it would be useful in CGI::App. The patch looks simple and
backwards compatible. A simple test case or two could be used to round
out the addition.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Stosberg Principal Developer
suppressed Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.