in reply to WWW::Mechanize and connection errors

Please revisit perlsyn :)
until ( $mech->success() ) { eval { $mech->get( $CONFIG{BASE_URL} ); 1; } or sleep $CONFIG{DELAY}; }