5
votes
2answers
1k views

How can I port Perl code from mod_perl to FastCGI?

We have an existing Perl application that supports mod_perl. However, our new host (Dreamhost) does not suppport mod_perl, only FastCGI; thus necessitating the port. The existing code does not use ...
2
votes
5answers
852 views

How can I write a Perl web app that supports CGI, FastCGI and mod_perl?

How can I write a web application in Perl so that it can work as plain CGI script, as FastCGI / FCGI script, and from mod_perl / mod_perl2 (preferably using only core Perl modules and those from ...
2
votes
1answer
116 views

How to control using Dancer 2 in a multiple deployment setting with Apache (not using plain CGI)?

We have a perl web application that has been using plain CGI for a long time, and now we're trying to port over to Dancer 2 with something else (mod_perl, fastcgi, whathaveyou) so we can get more ...
1
vote
1answer
52 views

Perl CGI vs C CGI in mod_perl WebServer

Im thinking in refactor my application migrating my Perl CGI to a C++ CGI. I'm trying to improve performance, because we need more runtime speed procesing. Taking into account that mod_perl compile ...
0
votes
1answer
86 views

As of 2014, what technology is a good replacement for mod_perl? [closed]

I've been using mod_perl for years. I have a few modules that handle Apache requests at early states, basically custom responses based on request headers that alter the normal response from Apache, ...
0
votes
1answer
261 views

A method for changing INCLUDE_PATH in Template::Toolkit on the FLY

If I have a preloaded Template::Toolkit object, in mod_perl enviroment for example, is there any way to change INCLUDE_PATH array without recreating the object?
0
votes
1answer
254 views

How to upload multiple files in perl?

I need to upload multiple files using perl cgi. i used form type as enctype="multipart/form-data and also set multiple='multiple' in input type file. just need to know what should we do ...
-1
votes
1answer
75 views

Retrieve a value from object in perl

I am getting $VAR1 = bless( \*{'Fh::fh00001Screenshot.png'}, 'Fh' ); in a variable. But I need to retrieve fh00001Screenshot.png from it. How can I get it?