Jenda, Thanks for the response. I've been too busy to try it, but I plan to soon. I'll let you and the list know how it works out.
Thanks, At 12:32 AM 4/4/2002 +0200, Jenda Krynicky wrote: >From: Kojo Idrissa <[EMAIL PROTECTED]> > > This is probably a simple question, but I can't seem to find a simple > > answer. I'm pretty new to Perl, but I'm learning. > > > > I've written a small program that performs a calculation, and I want > > the result to be displayed on my home page. I'd also like the > > calculation to be redone each time the page is viewed or reloaded. > >I guess the easiest solution would be to make a tiny CGI script >that will read the HTML from a file, copy it to output until it finds a >marker, then print the results of the computations and then >continue copying the rest of the file. > >Or you could split the static HTML into two files, then you would >read and copy to STDOUT the first file, then you'd write the >computations and then copy the second file. > >For later it would be better to install and start using one of the >HTML template modules from CPAN (I'm usualy not doing >CGI/mod_perl so I can't suggest names or compare the options). > >Jenda **************************** Kojo Idrissa [EMAIL PROTECTED] http://www.hal-pc.org/~kojo/ **************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]