Query: html::template::compiled::lazy
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HTML::Template::Compiled::Lazy(3pm) User Contributed Perl Documentation HTML::Template::Compiled::Lazy(3pm)NAMEHTML::Template::Compiled::Lazy - Lazy Loading for HTML::Template::CompiledSYNOPSISuse HTML::Template::Compiled::Lazy; my $htcl = HTML::Template::Compiled::Lazy->new( # usual parameters for HTML::Template::Compiled ); $htcl->param(...); # file wasn't compiled yet print $htcl->output; # now compile and output!DESCRIPTIONThis class does not compile templates before calling "output()". This includes "TMPL_INCLUDE"s. This can be useful in CGI environments. If your template has got a lot of includes HTML::Template::Compiled will compile all of them, even if they aren't needed because they are never reached (in a "TMPL_IF", for example). HTML::Template::Compiled::Lazy also won't complain if the file does not exist - it will complain when you call "output()", though. perl v5.14.2 2012-05-26 HTML::Template::Compiled::Lazy(3pm)
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Introduction |
Weird 'find' results |
A (ksh) Library For and From UNIX.com |