I set up mod_perl with Apache::PerlRun but it turned out it doesn't quite run every working CGI scripts, there're config variables in external files that were $variables which were out of scope, after I changed them to $namespace::variables they were once again in scope.
The problems I have right now are:
1) I have some external libraries which are not in a package by themselves and were used w/o ISA/Exports, I think that I can convert most of them with a simple grep "^sub"... but I was wondering if there's any chance I can save this convert
2) There are some functions that instead of returning a result modify global variables and even some which generate new ones based on a parameter like $$var or %$var
I already read the porting guide at the mod_perl site which should actually be renamed to How to REWRITE your CGI scripts to mod_perl, if anybody can point me to information on How to convert the scripts with the least changes possible or if there's another module other than Apache::Registry/Apache::PerlRun which can really run all CGI scripts.