Query: html::template::compiled::formatter
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HTML::Template::Compiled::Formatter(3pm) User Contributed Perl Documentation HTML::Template::Compiled::Formatter(3pm)NAMEHTML::Template::Compiled::Formatter - HTC subclass for using a formatterSYNOPSISmy $formatter = { 'HTC::Class1' => { fullname => sub { $_[0]->first . ' ' . $_[0]->last }, first => HTC::Class1->can('first'), last => HTC::Class1->can('last'), }, }; my $htc = HTML::Template::Compiled::Formatter->new( path => 't/templates', filename => 'formatter.htc', debug => 0, ); my $obj = bless ({ first => 'Abi', last => 'Gail'}, 'HTC::Class1'); $htc->param( test => 23, obj => $obj, ); local $HTML::Template::Compiled::Formatter::formatter = $formatter; my $out = $htc->output; perl v5.14.2 2012-05-26 HTML::Template::Compiled::Formatter(3pm)
Similar Topics in the Unix Linux Community |
---|
Introduction |
Detecting unused variables... |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |