Hi,
I do not know if this is a Perl or html question. Please help.
My Perl script runs at Server Site. When the script gets called, it outputs (prints) a progress html page displayed at Client site. When the program ends, it generates a new html page. This new html page should replace that progress page. However, instead of replacing the ProgressPage, the new html page is appended to ProgressPage. I use Perl here doc to print html pages. Below is the sample code.
First, print Progress Page.
Print <<ProgressPage; <html> <head> ….. </head> <body> ….. </body> </html> ProgressPage
Then, print the new HTML page. I want the new HTML page (NewPage) replaces ProgressPage. But, instead of replacing it, NewPage appends to ProgressPage. Can someone tell me how to replace ProgressPage with NewPage?
print <<NewPage; <html> <head> …… </head> <body> …… </body> </html> NewPage
In reply to How to replace the output (new html page)? by Gary Yang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |