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


Manual Reference Pages  -  HTML::TEMPLATE::COMPILED::LAZY (3)

.ds Aq ’

NAME

HTML::Template::Compiled::Lazy - Lazy Loading for HTML::Template::Compiled

CONTENTS

SYNOPSIS



    use HTML::Template::Compiled::Lazy;
    my $htcl = HTML::Template::Compiled::Lazy->new(
        # usual parameters for HTML::Template::Compiled
    );
    $htcl->param(...);
    # file wasnt compiled yet
    print $htcl->output; # now compile and output!



DESCRIPTION

This class does not compile templates before calling output(). This includes TMPL_INCLUDEs. This can be useful in CGI environments. If your template has got a lot of includes HTML::Template::Compiled will compile all of them, even if they aren’t needed because they are never reached (in a TMPL_IF, for example).

HTML::Template::Compiled::Lazy also won’t complain if the file does not exist - it will complain when you call output(), though.

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


perl v5.20.3 HTML::TEMPLATE::COMPILED::LAZY (3) 2015-07-25

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