Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 musing on the Monastery: (6)
As of 2022-12-07 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?