Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: HTML::Template : How to separate code and html with lesser maintenance issues

by jbrugger (Parson)
on Nov 21, 2006 at 05:51 UTC ( [id://585199]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $tmpl = "";
    my $item = "CONTINUE";
    ...
        $tmpl  = "denied.tmpl";
    }
    my $template = HTML::Template->new( filename => $tmpl );
    
  2. or download this
    # template.tmpl
    <TMPL_VAR NAME="function_xyz">
    ...
     return "template value needed";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-25 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found