Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

CGI::Application and mod_perl2

by morgon (Curate)
on Dec 21, 2010 at 00:24 UTC ( #878128=perlquestion: print w/replies, xml ) Need Help??
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://878128]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-09-24 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (462 votes). Check out past polls.