in reply to saving cgi output as html
Hope this helps!$doc = ''; open (MYOUT, ">/mypath/output.html") or die $!; $doc .= "<p>Mydata....</p>"; $doc .= "<p>Myotherdata....</p>"; print $doc; # This goes to the web browser print MYOUT $doc; # This goes to a files close (MYOUT);
|
|---|