CGI.pm annoying xhtml rendering

CGI.pm annoying xhtml rendering

am 11.04.2006 16:04:19 von FrankB

Hello,

when creating a form with CGI.pm, no matter if it is
use CGI;
$q = new CGI qw /:all -debug/;
print header and start the html etc..

print $q->start_form; OR
print $q->start_multipart_form();
print $q->textfield('blah');
print $q->end_form;
#etc..

it *always* returns an obsolete trailing empty useless HTML
"

" container before the closing tag of the form.

Any ideas ? It seems not to be
a known issue.

(Perl5.8.1 on linux i386/ multi-thread-whatever)

Re: CGI.pm annoying xhtml rendering

am 11.04.2006 19:16:54 von unknown

FrankB wrote:
> Hello,
>
> when creating a form with CGI.pm, no matter if it is
> use CGI;
> $q = new CGI qw /:all -debug/;
> print header and start the html etc..
>
> print $q->start_form; OR
> print $q->start_multipart_form();
> print $q->textfield('blah');
> print $q->end_form;
> #etc..
>
> it *always* returns an obsolete trailing empty useless HTML
> "

" container before the closing tag of the form.
>
> Any ideas ? It seems not to be
> a known issue.
>
> (Perl5.8.1 on linux i386/ multi-thread-whatever)
>
>

Not for me, even passing the arguments to "new" (which I don't think do
what you think they do). Is your CGI up to date? I'm running

Perl 5.8.6 on darwin; CGI version 3.17.

Tom Wyant