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

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)

NAME
HTML::Template::Compiled::Formatter - HTC subclass for using a formatter
SYNOPSIS
my $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)
Related Man Pages
html::formatter(3) - suse
html::template::compiled::classic(3pm) - debian
html::template::compiled::utils(3pm) - debian
mojomojo::formatter(3pm) - debian
mojomojo::formatter::defang(3pm) - debian
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