in reply to Can't call method "value" on an undefined value at X??
If not, upgrade to the newest version of WWW::Mechanize, and check if the bug is still present. If yes, report it.
How should I do error handling on this?
You can inspect the returned HTML for the 'username' field, and if not present, try again. Yes, it's a workaround, not a fix.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't call method "value" on an undefined value at X??
by Anonymous Monk on Aug 16, 2010 at 09:44 UTC |