GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Any::Template::Backend::Text::Template(3) User Contributed Perl Documentation Any::Template::Backend::Text::Template(3)

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

        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);

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.

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

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

John Alden <cpan _at_ bbc _dot_ co _dot_ uk>

(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

2006-05-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.