Lets see, you're using strict, you have warnings on, you're using Getopt::Long... so far so good :)
CGI.pm is good for handling the query (the actual code it uses is only a couple lines, much less bloat to just cut and paste them into a local query fetching sub :) but using it to generate the HTML is nearly imposible to maintain. I always use HTML::Template. It has worked pretty well. Other than a manager saving the browser HTML output and copying it over the template file, I've never seen any difficulties with updating the templates, but when I've had people trying to change my scripts everything breaks.
In reply to Re: Code Critique?
by Aighearach
in thread Code Critique?
by rostiguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |