debian man page for html::template::compiled::classic

Query: html::template::compiled::classic

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

HTML::Template::Compiled::Classic(3pm)			User Contributed Perl Documentation		    HTML::Template::Compiled::Classic(3pm)

NAME
HTML::Template::Compiled::Classic - Provide the classic functionality like HTML::Template
SYNOPSIS
use HTML::Template::Compiled::Classic compatible => 1; my $htcc = HTML::Template::Compiled::Classic->new( # usual parameters for HTML::Template::Compiled );
DESCRIPTION
This class provides features which can not be used together with features from HTML::Template::Compiled. These are: dots in TMPL_VARs If you want to use <TMPL_VAR NAME="some.var.with.dots"> you cannot use the dot-feature <TMPL_VAR NAME="some.hash.keys"> at the same time. Subref variables In HTML::Template, the following works: my $ht = HTML::Template->new( scalarref => "<TMPL_VAR foo>", ); $ht->param(foo => sub { return "bar" }); print $ht->output; # prints 'bar' This doesn't work in HTML::Template::Compiled (in the past it did, but as of HTC version 0.70 it won't any more, sorry).
METHODS
compiler_class returns HTML::Template::Compiled::Compiler::Classic validate_var gets the var name (parsed out of "NAME="foo.bar"" and returns if the string is a valid var name perl v5.14.2 2012-05-26 HTML::Template::Compiled::Classic(3pm)
Related Man Pages
template::plugin::html(3) - suse
cgi::application::plugin::anytemplate::driver::htmltemplateexpr(3pm) - debian
html::template::pluggable(3pm) - debian
template::manual(3pm) - debian
template::plugin::html(3pm) - debian
Similar Topics in the Unix Linux Community
Redirect Standard Output Multi-Process
HTML Encoded characters -- Perl
sed and maybe AWK
HTML question /!/
How is html code read, compared to say python?