> Every once in awhile at random times my bot dies with the following: > > Can't call method "make_request" on an undefined value at > /usr/lib/perl5/site_perl/5.8.0/WWW/Mechanize.pm line 636.
It's hard to tell without seeing the actual code, but I'm guessing that somewhere in there you've got a click() or a get() that you're not checking for success(), and the state of the Mech is no longer meaningful for doing other things. Rule #1 in Mech is always check your return codes. Rule #1a in Mech is if you're not going to check your return codes, turn on autocheck in the constructor to check your return codes for you. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
