Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 26463
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

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



Subject: fields documented twice for submit_form
In the submit_form section of the documentation the first param type is fields and described as follows: fields => \%fields Probably all you need for the common case. It combines a smart form selector and data setting in one operation. It selects the first form that contains all fields mentioned in \%fields. This is nice because you don't need to know the name or number of the form to do this. (calls form_with_fields and set_fields()). Then the forth param is fields again but described much less verbosely: fields => \%fields Sets the field values from the fields hashref (calls set_fields()). I'm assuming the last fields description is not meant to be present.
Thanks, fixed in 1.23_01