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
Download (untitled) / with headers
text/plain 770b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.