Skip Menu |

This queue is for tickets about the HTML-FillInForm CPAN distribution.

Report information
The Basics
Id: 28725
Status: new
Priority: 0/
Queue: HTML-FillInForm

People
Owner: Nobody in particular
Requestors: jspath [...] pangeamedia.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.07
Fixed in: (no value)



Subject: SELECT element with no name attribute causes warnings
When HTML::FillInForm is used on a page that contains a SELECT element with no name attribute, it produces the following warnings for each child OPTION element of the SELECT element. Use of uninitialized value in hash element at /usr/share/perl5/HTML/FillInForm.pm line 263. Use of uninitialized value in exists at /usr/share/perl5/HTML/FillInForm.pm line 265. Use of uninitialized value in exists at /usr/share/perl5/HTML/FillInForm.pm line 267. This is because when HTML::FillInForm processes OPTION elements it assumes that the SELECT element has a name: } elsif ($tagname eq 'option'){ my $value = $self->_get_param($self->{selectName}); $self->{selectName} in this case is undef, and the code in _get_param assumes that it has been passed a defined value.