Click to See Complete Forum and Search --> : printing new page in a loop


druss
03-29-2003, 08:58 AM
I want to know how to print a new page within a loop all the time.
EG:
foreach $slot (@name) {
print "$slot";
}

however this prints beneath one another, what i need is for that to print as a new page, sort of like replacing one another.

Thanks
Goran

jeffmott
03-29-2003, 10:29 AM
You cannot return multiple pages to the client. Whatever has been printed to STDOUT by the time your program finishes execution is what the user will get.