I would assume you could - its just that you don't probably want to use an include as you would in html - I am sure that perl lets you include external files in the output of a print statement. I am just trying to figure out how (and maybe it needs to be a whole function which parses and properly spits out the include file in the right place -- in order to get the formating correct - ie all the newlines in the right place)
Comment on Re: Can I do Server-Side-Includes in Perl?
Modules such as Template Toolkit
fall into an area half-way between pure CGI programming and
Active Server Pages but there is also Perlscript which can
be used as an ASP language. However it is a bit short of
features and I cannot remember if anyone is still maintaining it.