: I want to continuously refresh or update a screen with out it adding onto it's self.
: Any ideas?
Use the HTTP "refresh" header, either in the HTTP header:
# I assume you're using CGI.pm
print STDOUT header(
-refresh => "1; $url_of_this_cgi_script",
);
or in the HTML as a "meta" tag:
<html>
<head>
<meta http-equiv="refresh" content=1; url=$url_of_this_script">
...
The "1;" means refresh after 1 second; the $url_of_this_script" is the
URL of the script. (If omitted, then it will simply refresh the URL
you're looking at.)