Quick perl q =)

Sean picasso@madflower.com
Mon, 8 Jan 2001 21:47:29 -0500 (EST)


On 8 Jan 2001, Jordan Katz wrote:

> Sean <picasso@madflower.com> writes:
> 
> > I have something that works, but basically I was bulk creating a website.
> > I have a page-form and need to insert two files or preformatted html
> > into it at certain spots. 
> > 
> > I was really looking for something similar to the insert file command in
> > php. 
> > 
> > I am sure there is a better way to do this but I basically inserted a
> > comment into the form and replaced it, using print outs and an if
> > statement checking every line of the form. 
> 
> If I understand your problem correctly, and you're using Apache, you
> can write: 
> 
>   <!--#include virtual="myfile.html"-->
> 
> to include HTML files instead of having the Perl script do it.

Im not sure what web server they are using, thus the need to create 4k
html files. instead of using a database and cgi, SSI like I would normally
do. Good thought though =)