CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
clearing the screen



Jul 28, 2000, 8:34 PM

Post #1 of 2 (1721 views)
clearing the screen Can't Post

until ($kill eq "$killnum") {
print FILE "$kill"."|"."$line[$kill]";
print "$kill"."|"."$line[$kill]";


I am opening a pipe delimited database.
first i want to append the database.
next i want to print to the screen what line i am printing.

Because the database has 250 lines, i want to clear the screen after printing, but before incrementing $kill.

otherwise there would be 255 lines of database printed to the screen.

how do i clear the screen in cgi?

[This message has been edited by Zeke_D (edited 07-28-2000).]


Jul 29, 2000, 12:21 AM

Post #2 of 2 (1721 views)
Re: clearing the screen [In reply to] Can't Post

I could only think that after your finished printing all the data to the screen then to print this.

<META HTTP-EQUIV="Refresh" CONTENT="1; URL=http://url.cgi?do=nothing">

and in the cgi i'd put somthing like.

if ($in{'do'} eq "nothing")

Other than that I'm not sure.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives