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

CGI::Application and mod_perl2

by morgon (Deacon)
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!

Comment on CGI::Application and mod_perl2
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.

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

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 about the Monastery: (2)
As of 2014-09-17 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (55 votes), past polls