Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: HTML - seperating design and logic

by submersible_toaster (Chaplain)
on Jul 03, 2004 at 11:45 UTC ( #371569=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $t= HTML::Template->new( $sometemplate );
    my $insert = $q->table ( $self->build_some_table );
    $t->param ( bigtable=>$insert );
    
  2. or download this
    my $self = Some::CGI::Class->new( %params );
    $self->update_data;
    return $self->template_data;
    
  3. or download this
    $self->update_data;
    my $t = HTML::Template->new( $sometemplate );
    my $tpp = HTML::Template::PreProcessor->( hash=>'sorted' , style=>'arr
    +ay' , object=>$self );
    $t->param ( $tpp->preprocess );
    return $t->output;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://371569]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-08-27 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls