I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-04-24 00:09:59-07 by infravision
set_fields crashes
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.
Direct Responses: 7744 | Write a response
Posted on 2008-04-24 00:25:11-07 by infravision in response to 7742
Re: set_fields crashes
The older version of Mechanize that they have for Active State doesn't give the no-such-field diagnostic. Running it in Unix I saw what was happening.
Direct Responses: Write a response