in reply to Re^5: 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 read the documentation. what i gathered from it is dat cgi::ssi is for writing include commands directly in the cgi script. but my aim is to output the results of a processed .shtml into the output of the cgi script.
  • Comment on Re^6: including the content of a .shtml file into a cgi page

Replies are listed 'Best First'.
Re^7: including the content of a .shtml file into a cgi page
by moritz (Cardinal) on Jul 15, 2008 at 09:31 UTC
    CGI::SSI does that:
    $ perl -e 'use CGI::SSI (autotie => "STDOUT"); print qq{<!--#echo var= +"DATE_LOCAL" -->\n}' Tue Jul 15 11:30:56 2008
        an error occurred while processing this directive

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

      hmmmm.... then probably i'll read a tutorial on output filters..... thanx.... ketaki