Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HTML::Template::CompilUserLContributed Perl DHTML::Template::Compiled::Lazy(3)

NAME
       HTML::Template::Compiled::Lazy -	Lazy Loading for
       HTML::Template::Compiled

SYNOPSIS
	   use 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!

DESCRIPTION
       This 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.32.1			  2016-05-03 HTML::Template::Compiled::Lazy(3)

NAME | SYNOPSIS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTML::Template::Compiled::Lazy&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help