Thilo wrote:

"
the CGI::App template path is only used by CGI::App.
HTML::Template does not know or care about this at all.
If you want the template path to have any effect, you have to let CGI::App create the template for you:


my $tmpl_obj = $webapp->load_tmpl('some.tmpl');
"

Of course! And it worked! It turns out that I caused this problem myself by too
much "copying and pasting" between different modules with which I have been
experimenting.



David wrote:

"
Firstly you dont need to 'use HTML::Template' when you are already using CGI::Application as your base.
"


I commented out the 'use..." and the application works just fine.


Cees wrote:

"
use CGI::Session qw/-ip-match/;
use CGI::Application::Plugin::Session;
"

which highlights something that I don't yet understand: that I can "use" the Session plugin
and the non-plugin Session simultaneously and they don't conflict with each other. I used
the suggestion and it worked.


Thanks all of you for your responses.

Peter -


--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to