Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: TMPL_IF

by DrManhattan (Chaplain)
on Oct 18, 2001 at 17:03 UTC ( #119668=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $template = new HTML::Template (
        filename => "file.tmpl"
    ...
            { inside_of_loop => "baz" }
        ]
    );
    
  2. or download this
    Outside: <TMPL_VAR NAME=outside_of_loop>
    <TMPL_LOOP NAME=the_loop>
        Inside: <TMPL_VAR NAME=outside_of_loop> <TMPL_VAR NAME=inside_of_l
    +oop>
    </TMPL_LOOP>
    
  3. or download this
    Outside: foo
        Inside: foo bar
        Inside: foo baz
    
  4. or download this
    Outside: foo
        Inside:  bar
        Inside:  baz
    
  5. or download this
    my $template = new HTML::Template (
        filename    => "file.tmpl",
        global_vars => 1
    );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-08-29 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls