OK, thanks guys, but I need to refine my question a little:

I am running apache, but I'm not sure if it supports mod_perl, since I am not administrating the webserver at my university (and I think that I don't really need to know to obtain what I'm looking for).
Creating a module is something that I could do, but remember that laziness is what makes a programmer (maybe not a Perl Monk?), so my question was more something like:

What is the best way, when parsing my template html files (which contain SSI exec calls) to produce the same effect as a real SSI call, without having to change anything to the SSI scripts.

The scripts are written in Perl, of course, so I have access to the source code. Rewriting them as a module would not be a big hassle, but simplicity and ease are good virtues (wouldn't that be cool if I could redistribute my SSI scripts for somebody who wants to use them as real SSIs?).

In reply to Re: Best way to by gaggio
in thread Best way to "simulate" SSI by gaggio

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.