sqlConnectToDB; sqlStatement ("TRUNCATE TABLE articles"); .... # retrieve xml file with all articles my $headline_xml = getHTTPAddress($category_http_start.uri_escape($category_name).$category_http_end);