in reply to Mechanize, Do Not Die, Do Next In Loop

is  or error ("Cannot Connect To Website $website: " . $statement->errstr()); part of the code?

if yes, then you seem to call a self-defined subroutine error() which dies.

Either change the subroutine (whatever it's supposed to do) or replace error with warn.

Or ask the guy who wrote the code for you! =)

Cheers Rolf

( addicted to the Perl Programming Language)