http://qs321.pair.com?node_id=179064


in reply to Re: Re: Re: Help with my Coding Style - another chance to critique
in thread Help with my Coding Style - another chance to critique

Good point, belg4mit. I've actually gone one beyond this and, combined with one of crazyinsomniac's suggestions from below, I've made the program quite a bit more customizable. The CGI script now has the following line, allowing me to set both the path top the templates and the main application title:

my $webapp = AuthorWeb->new( TMPL_PATH => '/path/to/includes/', PARAMS => { apptitle => 'Corwin\'s AuthorWe +b'} );
  • Comment on Re: Re: Re: Re: Help with my Coding Style - another chance to critique
  • Download Code