Strange thing is, this worked yesterday. It's been working for months without a problem.
But today when I run the script, at a point to set the fields it just hangs up. The script quits without further output. I have:
#1
&dbg("filling fields, " . $username . " " . $password);
#2
$bot->set_fields(
'username' => $username,
'password' => $password);
#3
&dbg("beyond set fields");
if (! $bot->success) {
&log("unable to set form parameters in login");
exit 1;
}
I see the message at #1, but I don't see anything after #3.
I wonder how to diagnose what's happening. This is on ActiveState
Perl, Windows XP, compiled script to executable, the Perl version
is 5.8.8, the Mechanize version is 0.72.