in reply to How can I save the output as a .html file?

Generate the page as a string, then print that string out to the browser. Then open a file and print the string to the filehandle.

Note you can't use Perl to print the file out to the client system without some detailed extra setup.

  • Comment on Re: How can I save the output as a .html file?