CGI-Builder-HTMLtmpl

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

CGI-Builder-HTMLtmpl README File
====================================


Description
-----------

This module transparently integrates CGI::Builder and HTML::Template in a very handy and flexible framework that can save you some coding.
    
Installation
------------

0.  Prerequisites:
- CGI::Builder   >= 1.0
- HTML::Template >= 1.0

1. CPAN installation

lib/CGI/Builder/HTMLtmpl.pm  view on Meta::CPAN


    use CGI::Builder
    qw| CGI::Builder::HTMLtmpl
        ...
      |;

=head1 DESCRIPTION

B<Note>: You should know L<CGI::Builder>.

This module transparently integrates C<CGI::Builder> and C<HTML::Template> in a very handy and flexible framework that can save you some coding. It provides you a mostly automatic template system based on HTML::Template: usually you will have just to...

B<Note>: With this extension you don't need to explicitly set the C<page_content> to the output of your template object (C<< ht->output() >>) in your Page Handlers, because it will be automatically set. You should explicitly set the C<page_content> p...
   
    # in order to produce the output with the template 'myPage.tmpl',
    # usually you just need to pass the param to the object
    sub PH_myPage {
        my $s = shift;
        $s->ht_param( something => 'something' );
    }
    



( run in 0.520 second using v1.01-cache-2.11-cpan-a1d94b6210f )