*This message was transferred with a trial version of CommuniGate(tm) Pro*
A simple soutiion is to use:

open(FILE, "thefile.html");

and instead of using print, which would print to stdout, use:
print FILE "Blah blah";

That would generate the html-file.

Dune/Fluff


Phone: +46 70 88 88 708
Fax: +46 70 88 88 701
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Webpage: www.fluffigt.net <http://www.fluffigt.net>


-----Ursprungligt meddelande-----
Från: Richard S. Crawford [mailto:[EMAIL PROTECTED]]
Skickat: den 5 december 2001 16:31
Till: [EMAIL PROTECTED]
Ämne: Generating static HTML Pages


*This message was transferred with a trial version of CommuniGate(tm) Pro*
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]

Reply via email to