Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-12-05 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?