$mech->value( $name, $number )
Given the name of a field, return its value. This applies to the current form (as set by the form() method or defaulting to the first form on the page).
The option $number parameter is used to distinguish between two fields with the same name. The fields are numbered from 1.
If the field is of type file (file upload field), the value is always cleared to prevent remote sites from downloading your local files. To upload a file, specify its file name explicitly.
In reply to Re: WWW-Mechanize
by jbrugger
in thread WWW-Mechanize
by jonhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |