Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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 ApacheParse.pm, 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.

      Thanks,

      j

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2025-07-11 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.