Hi Thilo -- > This saves some keystrokes and should also benefit performance, > especially if CGI::Application internally used the print_to parameter > of HTML::Template->output(). I'm not sure that saving key-strokes is enough of a benefit. While I personally prefer HTML::Template, there are quite a number of CGI::Application users who use other templating systems, such as template toolkit. Making a closer binding between H::T and C::A would only necessitate creating an extensible architecture for binding other object types. Ultimately, this would look a whole lot like "return $output" anyway, 'cept a lot slower. The 'print_to' idea is a more compelling argument than reducing key-strokes, but not compelling enough. If we used it, we would just print to STDOUT, anyway, resulting in no performance gain. Worse, CGI.pm already has hooks to switch between mod_cgi and mod_perl modes. If CGI-App assumed responsibility for detecting and adapting to the run-time environment it would require a lot of code duplication. TTYL, -Jesse- -- Jesse Erlbaum The Erlbaum Group suppressed Phone: 212-684-6161 Fax: 212-684-6226 --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/suppressed/ 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.