Perl and SSI

by Michael Jon Muehlendorf <haoka(at)wi.tds.net>

 Date:  Wed, 27 Feb 2002 14:04:53 -0600
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hello List!

I have a cgi script for an guestbook. On a couple of the pages that it
generates, I am finding it most difficult to get it to write HTML code that
I have added. I'm not sure how to go about this. Can an SSI be placed into
an additional "print" statement in the cgi script; e.g. 

print "<.!--#include file="foo.txt" -->"\n;

And, if so, are there any special characters in the include command that
need to be escaped?

I know this is basic stuff, so maybe someone would be willing to e-yap with
me off list for a bit?

TIA,

Mike

Michael Jon Muehlendorf
Scenic Bluffs Webcrafters
http://www.scenic-bluffs.com/

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA