in reply to Re: Separation of content and code
in thread Separation of content and code
What if the structure of the HTML depends upon the program logic? I may for instance show data as a table if more than one row is returned, but as a paragraph otherwise.
I do not believe that it is necessarily better to use templates. Merlyn has an entire chapter on CGI.pm in the 2nd version of Learning Perl, and I don't recall him giving such advice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Separation of content and code
by Masem (Monsignor) on Jun 18, 2001 at 15:26 UTC |