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 ( #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?
[Corion]: ambrus: Yeah, at least that's what I think I'll start with. A timer and potentially the dummy IO function that never is ready
[ambrus]: That only lets you invoke the main loop from Prima->run;, not from AnyEvent->condvar- >recv; but that shouldn't matter
[Corion]: ambrus: Details ;)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2016-12-08 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (141 votes). Check out past polls.