BBC (British Broadcasting Corporation) > Any-Template-1.015 > Any::Template::Backend::HTML::Template

Download:
Any-Template-1.015.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.007   Source  

NAME ^

Any::Template::Backend::HTML::Template - Any::Template backend for HTML::Template

SYNOPSIS ^

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

DESCRIPTION ^

All template input methods are provided natively by HTML::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 HTML::Template's native implementation. Output to a file uses the default wrapper around output to a fileshandle.

SEE ALSO ^

Any::Template, Any::Template::Backend, HTML::Template

VERSION ^

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

AUTHOR ^

John Alden <cpan _at_ bbc _dot_ co _dot_ uk>

COPYRIGHT ^

(c) BBC 2005. This program is free software; you can redistribute it and/or modify it under the GNU GPL.

See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt

syntax highlighting: