Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: HTML - seperating design and logic

by submersible_toaster (Chaplain)
on Jul 03, 2004 at 11:45 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://371569]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-18 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found