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.