Subject: | bug in start_form |
CGI.pm 3.10, Perl 5.8.7, Win2K-SP4.
Line 1802 in CGI.pm has a typo (two indeed), I think:
if (defined($param[0]) && substr($param[0],0,1) eq '-') {
What we want is this:
if (defined($p[0]) && substr($p[0],0,1) eq '-') {
At least, with this change in place the generated HTML form is valid
XHTML whereas before there are two enctype attributes inside the form tag.