Changeset 447 for branches/htmlform/cgi-bin/main.cgi
- Timestamp:
- 07/27/10 13:15:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/cgi-bin/main.cgi
r442 r447 12 12 use warnings; 13 13 use CGI::Carp qw(fatalsToBrowser); 14 use CGI::Simple; 14 15 use DBI; 15 16 use CommonWeb qw(:ALL); … … 55 56 56 57 57 # Global variables 58 my %webvar = parse_post(); 59 cleanInput(\%webvar); 58 # Set up the CGI object... 59 my $q = new CGI::Simple; 60 # ... and get query-string params as well as POST params if necessary 61 $q->parse_query_string; 62 63 # Convenience; saves changing all references to %webvar 64 ##fixme: tweak for handling <select multiple='y' size=3> (list with multiple selection) 65 my %webvar = $q->Vars; 60 66 61 67
Note:
See TracChangeset
for help on using the changeset viewer.