in reply to Re^7: including the content of a .shtml file into a cgi page
in thread including the content of a .shtml file into a cgi page

I can only get CGI::SSI to DWIM when it's supplied with an absolute HTTP URL to the SSI file. For some reason all the other methods listed in POD fail with [an error occurred while processing this directive]. YMMV
$shtml = $ssi->include(virtual => 'http://path/to.ssi');

Replies are listed 'Best First'.
Re^9: including the content of a .shtml file into a cgi page
by moritz (Cardinal) on Jul 16, 2008 at 06:47 UTC
    an error occurred while processing this directive

    That's the point at which you look into Apache's error.log.