Changeset 447 for branches/htmlform/cgi-bin/snCalc.cgi
- Timestamp:
- 07/27/10 13:15:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/cgi-bin/snCalc.cgi
r371 r447 4 4 use warnings; 5 5 use CGI::Carp qw(fatalsToBrowser); 6 use CGI::Simple; 6 7 use NetAddr::IP; 7 8 use CommonWeb qw(:ALL);; … … 9 10 #file snCalc.cgi little subnet calculator app 10 11 11 my %webvar = parse_post(); 12 # Set up the CGI object... 13 my $q = new CGI::Simple; 14 # ... and get query-string params as well as POST params if necessary 15 $q->parse_query_string; 16 17 # Convenience; saves changing all references to %webvar 18 ##fixme: tweak for handling <select multiple='y' size=3> (list with multiple selection) 19 my %webvar = $q->Vars; 20 12 21 my $input; 13 22
Note:
See TracChangeset
for help on using the changeset viewer.