Tried to execute the following commands, recorded with HTTP::Recorder:
$agent->form_number(1);
$agent->field('password', 'xxx');
$agent->field('login_name', 'xxx');
$agent->click('login');
That doesn't work, however. I traced the requests made by the browser and the script with Wireshark, and based on that I made the following modification:
$agent->field( login => 'Submit+Query' );
$agent->click('login');
That works, but why?
In reply to Click button with WWW::Mechanize by jczeus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |