LPM: Text::Template and server-side includes in HTML files

sungo at earthling.net sungo at earthling.net
Thu Aug 31 08:48:08 CDT 2000


On Thu, 31 Aug 2000, Joe Hourcle wrote:

> > > Does anyone who uses Text::Template know of a way around this without
> > > getting rid of the server-side includes?

you can also throw the perl in your template and have it do a pseudo ssi.

<%  open BLAH, "header.html"; while(<BLAH>) { $OUT .= $_ }  close
BLAH; $OUT %>


--------
Matt Cashner
Web Applications Developer
The Creative Group (http://www.cre8tivegroup.com)
sungo at earthling.net | Codito, ergo sum





More information about the Lexington-pm mailing list