Hi this is my first time posting to this list.

While using WWW::Mechanize I noticed a bug in HTML::Form.

The problem is multiple 'select' elements that have the same name in
the same form are combined into one 'select' element.

Not only does this prevent one from trying to choose an option in a
select that is not the first in the form but if several selects
already have pre-populated data this is also lost.

I have a modified version of Form.pm that fixes this issue.

I sent a fix to the maintainer of the package, Gisle, and it was
recommended that I send my patch to this group as it would give others
a chance to pick them up before he would be able to.

I am attaching my modified Form.pm.
(Gisle - there was a bug in what I last sent to you, this version
fixes that problem ;)

I have never submitted a patch before and welcome feed back, etiquette
hints, etc.

---Alex

Attachment: Form.pm
Description: Binary data

Reply via email to