in reply to WWW::Mechanize and connection errors
until ( $mech->success() ) { eval { $mech->get( $CONFIG{BASE_URL} ); 1; } or sleep $CONFIG{DELAY}; } [download]