go ahead... be a heretic | |
PerlMonks |
WWW::Mechanize, new version, broken codeby WhiteBird (Hermit) |
on Jul 25, 2004 at 02:11 UTC ( [id://377213]=perlquestion: print w/replies, xml ) | Need Help?? |
WhiteBird has asked for the wisdom of the Perl Monks concerning the following question:
I'm using ActiveState Perl 5.6.1. I'm building a small web spider using WWW:Mechanize. The code was coming along nicely but I was having some trouble getting one form to submit because the fields were select fields with drop down options. While I was thinking about that I decided to check my version of Mechanize with ppm. Results back from ppm indicated that a more current version was available, so I blithely went ahead and updated the module from .43 to .48. 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?
Back to
Seekers of Perl Wisdom
|
|