Hi. I have a ".cgi" web page (a huge perl script) that, amongst other things, prints LOTS of html code to the browser. The whole process is rather slow, and the html page shows up as the script runs.
What I want to do is, AT THE END OF THE SCRIPT, include a line that saves into a variable ALL THE HTML CODE that the script printed on the screen.
In fact, I want the same code I would get by doing "View -> Source" in Internet Explorer.
How can I do that??
Thanks!