Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

RFC: Template::YetAnother

by domm (Chaplain)
on Nov 15, 2002 at 22:41 UTC ( [id://213300]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        
      # generate a new template handler
      my $th=Template::YetAnother->new
    ...
       <p>foo bar</p>
       <hr>
       Thu Nov  7 21:51:05 200
    
  2. or download this
          my $th=Template::YetAnother->new({
                                    template_dir=>'/path/to/templates/',
    ...
                                    # start_tag=>'<--',
                                    # end_tag=>  '-->',
                                    });
    
  3. or download this
          $th->fill($data);
    
  4. or download this
          my $fragment=$th->_gen('type',$data)
    
  5. or download this
          $th->type($data)
    
  6. or download this
    --
    #!/usr/bin/perl
    for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://213300]
Approved by BrowserUk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-25 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found