http://www.perlmonks.org?node_id=878128

morgon has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am currently thinking about using CGI::Application for a mod_perl2 project but have problems getting it to run.

CGI::Application::Plugin::Apache requires Apache2::Request which seems not to be installable via the CPAN shell.

I think I could probably build it manually somehow but I need a process that I can hand over to people with less experience, so my question is:

Is there an easy way to get CGI::Application::Plugin::Apache up and running or alternatively would it still be a good idea to use CGI::Application under mod_perl2 without CGI::Application::Plugin::Apache?

Many thanks!

Replies are listed 'Best First'.
Re: CGI::Application and mod_perl2
by tokpela (Chaplain) on Dec 21, 2010 at 01:57 UTC

    My suggestion would be to focus on getting your CGI::Application to run under Plack which would make take the Apache2::Request issues out of the equation.

    CGI::Application::PSGI

Re: CGI::Application and mod_perl2
by Anonymous Monk on Dec 21, 2010 at 00:37 UTC
    Is there an easy way to get CGI::Application::Plugin::Apache up and running

    The standard way is easy. http://cpansearch.perl.org/src/ISAAC/libapreq2-2.13/INSTALL

    or alternatively would it still be a good idea to use CGI::Application under mod_perl2 without CGI::Application::Plugin::Apache?

    If you gotta ask , then CGI::Application::Plugin::Apache is irrelevant to you. CGI/CGI::Simple... will work.