On Tue, 09 Nov 2004 16:48:59 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, 2004-11-09 at 15:30, Robert wrote: > > I am coming from the CGI-Application camp where I would define a param and > > pass that as the page to process. I would like to do the same in TT. I would > > like to have one "main" cgi script that reads the ?pid=something and > > processes those vars. > > Okay. Are you having trouble doing that? People do use TT with > CGI::Application. > > > Another thought would be, is that a good way to do things in TT? > > Yes. You can use TT in exactly the same way you would use > HTML::Template with CGI::App.
Checkout CGI::Application::Plugin::TT for a super easy way to use TT within CGI::App. I'm currently using it on a personal site with great success. http://search.cpan.org/~ceeshek/CGI-Application-Plugin-TT-0.03/ Drew -- ---------------------------------------------------------------- Drew Taylor * Web development & consulting Email: [EMAIL PROTECTED] * Site implementation & hosting Web : www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres ---------------------------------------------------------------- _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
