WhiteBird has asked for the wisdom of the Perl Monks concerning the following question:
Now my new code won't run and neither will any of my old code that relied on WWW::Mechanize. The error I get is:
Can't locate object method "requests_redirectable" via package "WWW::Mechanize" (perhaps you forgot to load "WWW::Mechanize"?)...
Since I hadn't changed any of the code I assume that there's been a change in the module that caused a problem. I did a super search and came up with this node: WWW:Mechanize and Windows. Akira71 was having the same trouble with version .48 of Mechanize on Windows. I was surprised to find that I had replied, saying that I ran the posted code on my system (v.43) with no problems--perhaps it was the version number.
So, now I really want to bang my head on the desk. I've read the all of the documentation that I can find but I can't figure out which piece of the code has changed and why I'm getting this error. I would appreciate any enlightenment, guidance or instruction from the Monastery--Did Akira71 ever solve the problem? What can I do to get my WWW::Mechanize to get past this error? I notice that CPAN has yet a more current version...can that be installed on Windows without too much trouble?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: WWW::Mechanize, new version, broken code
by jacques (Priest) on Jul 25, 2004 at 02:53 UTC | |
by WhiteBird (Hermit) on Jul 26, 2004 at 01:13 UTC | |
by jacques (Priest) on Jul 26, 2004 at 14:08 UTC | |
by Corion (Patriarch) on Jul 26, 2004 at 14:12 UTC | |
by jacques (Priest) on Jul 26, 2004 at 14:19 UTC | |
by WhiteBird (Hermit) on Jul 26, 2004 at 18:24 UTC | |
Re: WWW::Mechanize, new version, broken code
by castaway (Parson) on Jul 26, 2004 at 09:14 UTC | |
by WhiteBird (Hermit) on Jul 26, 2004 at 18:28 UTC |