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

Re: Re: Re: Re: TMPL_IF

by DrManhattan (Chaplain)
on Oct 18, 2001 at 17:03 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://119668]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found