Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: SSI within a Perl CGI script

by Sinister (Friar)
on Mar 11, 2002 at 16:55 UTC ( #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."


Comment on Re: SSI within a Perl CGI script
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
Node Status?
node history
Node Type: note [id://150915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2014-09-30 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (378 votes), past polls