Re: [cgiapp] Subclassing form, futher thoughts

2002-06-12 Thread Seb
On Wed, 12 Jun 2002 11:15:01 -0400, Jesse Erlbaum <[EMAIL PROTECTED]> spoke gently: > Hi Sebastian -- > > > Now, my index.cgi would look like this: > > > > #!/usr/bin/perl > > use CGI qw(:standard); > > my $q = new CGI; > > my $modules = { > >sales => 'Sales', > >invent => 'Inven

RE: [cgiapp] Subclassing form, futher thoughts

2002-06-12 Thread Jesse Erlbaum
Hi Sebastian -- > Now, my index.cgi would look like this: > > #!/usr/bin/perl > use CGI qw(:standard); > my $q = new CGI; > my $modules = { >sales => 'Sales', >invent => 'Inventory', >}, > }; > # Set a default > $q->param('mod' => 'main') >unless $q->param('mod'); > # Dyn

[cgiapp] CGI::Validate for Form Validation in CGI::Application

2002-06-12 Thread Cory Trese
Hey it rhymes! Anyone using CGI::Application with CGI::Validate for Form validation? My concern in using it is that it will (seems to) create CGI objects, which is obviously no good for CGI::Application use. Anyone tried this? It looks like the interface is a copy of GetOpt::Long (with additio