Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
Domain Nodelet?
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 making s'mores by the fire in the courtyard of the Monastery: (None)
    As of 2021-10-20 01:44 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My first memorable Perl project was:







      Results (78 votes). Check out past polls.

      Notices?