in reply to Re^2: Breaking up a CGI::Application program
in thread Breaking up a CGI::Application program
$html_output .= $q->start_html(-title=>'petnuch.com', -style=>{-src=>'/css/layout.css'} ); $html_output .= banner($self); $html_output .= menu($self); $html_output .= create_error($self); $html_output .= footer($self); $html_output .= $q->end_html();
You can definitely shorten and simplify this code a great deal by using templates instead.
-sam
PS: While you're in the code - write some comments! No wonder you're finding this hard to maintain - it's 4,000 lines of code without a single hint as to what it's trying to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Breaking up a CGI::Application program
by debiandude (Scribe) on May 31, 2006 at 21:23 UTC | |
by samtregar (Abbot) on May 31, 2006 at 21:49 UTC |