Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 lurking in the Monastery: (17)
As of 2015-07-07 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls