Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 12072
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: juanmarcosmoren [...] terra.es
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: HTML::Form unuseful warnings
Many HTML pages on the Internet have input widgets outside of a form. This may not be standard but all the browsers work OK with that without giving any warning. Why should HTML::Form give this unuseful warning?
--- HTML/Form.pm +++ HTML/Form.pm @@ -9,8 +9,6 @@ use vars qw($VERSION); $VERSION = sprintf("%d.%03d", q$Revision: 1.49 $ =~ /(\d+)\.(\d+)/); -my %form_tags = map {$_ => 1} qw(input textarea button select option); - my %type2class = ( text => "TextInput", password => "TextInput", @@ -213,9 +211,6 @@ } } } - elsif ($form_tags{$tag}) { - Carp::carp("<$tag> outside <form>") if $^W; - } } for (@forms) { $_->fixup;
[guest - Wed Mar 30 13:00:23 2005]: Show quoted text
> Many HTML pages on the Internet have input widgets outside of a form. > This may not be standard but all the browsers work OK with that > without giving any warning. Why should HTML::Form give this > unuseful warning?
I applied this patch to my installation and removes that warnings. Any comment why this isn't applied to the package?