Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: SSI within a Perl CGI script

by Sinister (Friar)
on Mar 11, 2002 at 16:55 UTC ( [id://150915]=note: print w/replies, xml ) Need Help??

in reply to SSI within a Perl CGI script

I once created a toy module for this, which can parse and handle SSI's and #IF-#ELSE's for Apache.

It can be found here.

It is called, OO based and un-documented. (The source is still the documentation)
I hope it can help you.

er formait hyarya.
"Field experience is something you don't get until just after you need it."

Replies are listed 'Best First'.
Re: Re: SSI within a Perl CGI script
by perrin (Chancellor) on Mar 11, 2002 at 17:24 UTC
    No offense, but with modules for SSI already available on CPAN I can't see a good reason to use something that's not documented.

    Try CGI::SSI or CGI::SSI_Parser, or look at this node for more ideas.

      Thanks everyone for your quick replies!

      Regarding the CGI::SSI module, how do I actually use that? Again, excuse my ignorance, but I am new to using Perl and I'm not 100% clear on how to reference the code.

      Do I save all of the CGI::SSI code to a new file and then reference that module from my script, or paste this new code into my script?

      If anyone has a simple example that they could share with me I would be grateful.



        There's lots of information on this at (check the FAQ), and in man perlmod. There's a node on finding things in the perl documentation here.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150915]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-22 00:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found