Any::Template::Backend::Text::Template - Any::Template backend for Text::Template


Any-Template documentation  | view source Contained in the Any-Template distribution.

Index


NAME

Top

Any::Template::Backend::Text::Template - Any::Template backend for Text::Template

SYNOPSIS

Top

	use Any::Template;
	my $template = new Any::Template(
		Backend => 'Text::Template',
		Options => {
			UNTAINT => 1 #Pass in Text::Template ctor options
		},
		File => 'page.tmpl'
	);	
	my $output = $template->process($data);

DESCRIPTION

Top

All template input methods are provided natively by Text::Template. Output to a coderef uses the default implementation of buffering all the output in a string and passing this to a coderef, so beware of the memory consumption if the output is large. Output to a string and filehandle all use Text::Template's native implementation. Output to a file uses the default wrapper around output to a fileshandle.

SEE ALSO

Top

Any::Template, Any::Template::Backend, Text::Template

VERSION

Top

$Revision: 1.6 $ on $Date: 2005/05/08 18:25:18 $ by $Author: johna $

AUTHOR

Top

John Alden <cpan _at_ bbc _dot_ co _dot_ uk>

COPYRIGHT

Top


Any-Template documentation  | view source Contained in the Any-Template distribution.