http://qs321.pair.com?node_id=292211

Gwalchmai has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Perlers,

I have created the following sub that uses CGI ':standard' coding.

The sub is called several times during the program.

When the program runs, each display is being tacked onto the bottom of the previous. Is there any way to clear the browser screen so that each sub run prints to a clean screen?

sub screenDisplay { my ( $thread, $status ) = @_; print header, start_html('Distributed Search Progress'), h1('Search in progress ... Please wait.'), $progress[$status], "Thread: $thread\n", hr, end_html; }

edit by thelenm: added code tags