Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Help with Template Workflow

by hacker (Priest)
on Aug 29, 2007 at 12:55 UTC ( [id://635789]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $cgi            = CGI->new();
    $action         = $cgi->param('a');
    ...
            my $content     = $template->output;
            print $content;
    }
    
  2. or download this
            my $template    = HTML::Template->new(
                                    die_on_bad_params => '0',
    ...
            $template->param(LATEST_NEWS => $latest_news); 
            my $content     = $template->output;
            print $content;
    
  3. or download this
       <TMPL_VAR NAME=LATEST_NEWS>
    
  4. or download this
    sub home {
          my $template    = HTML::Template->new(
                                  die_on_bad_params => '0', 
    ...
                                  die_on_bad_params => '0', 
                                  filename => 'faq.tmpl');
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://635789]
Approved by naikonta
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-20 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found