Sure, Something like this:
open(DAT, ">index.html" || die ("Cant Open the file");
print DAT "<html><head><title>PAGE</title></head>";
print DAT "<body>Some more stuff here</body></html>";
close DAT;
Regards,
Andre` C.
Technical Support
ԿԬ
----------------------------------------------------------------------------
-
Visit our support manual at http://supportmanual.com/
----- Original Message -----
From: "Richard S. Crawford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 10:31 AM
Subject: Generating static HTML Pages
> Long time reader, first time writer here...
>
> For a personal project, I would like to use Perl to generate static HTML
> pages. Can the output of CGI be redirected to a file which can be read
> later by a browser? What is the best way to approach this problem?
>
> Richard (who knows PHP but is looking for something more challenging)
>
> Sliante,
> Richard S. Crawford
>
> http://www.mossroot.com
> AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
> MSN: [EMAIL PROTECTED]
>
> "It is only with the heart that we see rightly; what is essential is
> invisible to the eye." --Antoine de Saint Exup�ry
>
> "Push the button, Max!"
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]