I've been learning how to use CGI::Application. I took an example from Apache::ASP and reworked it into the CGI::Application way of doing things. I think I like it better.
I added the example to the CGI::Application kwiki at http://twiki.med.yale.edu/twiki2/bin/view/CGIapp/ColorChooserExampleApp
Typically I do this:
I program using a state engine, and hidden tags...use CGI qw/:all/;
use DBI;
use DBD::Oracle;
sub action()
{
my ( $act ) = @_;
if ( $act eq '' )
{
&present_menu();
}
elsif ( $act =~ m/^ed/ )
{
# get auxillary parms for this action...
&do_edit();
}
# etc, etc...
}