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

Simply use'ing the module isn't enough. The documentation lists several possibilities to actually use its functionality.
  • Comment on Re^5: including the content of a .shtml file into a cgi page

Replies are listed 'Best First'.
Re^6: including the content of a .shtml file into a cgi page
by ketaki (Acolyte) on Jul 15, 2008 at 09:24 UTC
    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.
      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
        hmmmm.... then probably i'll read a tutorial on output filters..... thanx.... ketaki