Okay,

So I may be a fool for asking this question, but I hope you will all 
forgive me. I am fairly new to Perl and really really new to mod_perl. I am 
working to convert my site to use mod_perl and am having problems with two 
require statements that exist in most of my scripts. 

Basically, the require statements point to two other scripts that are back 
end handler scripts. They are comprised of a couple of subroutines each. 

Everything works great if I don't run the site through mod_perl as you can 
imagine. When I do run the site through mod_perl I get internal server 
errors reported from apache.

The errors in the error_log report: ModPerl::Registry: Undefined subroutine 
&ModPerl::ROOT::ModPerl::Registry::var_www_test_home::doSession called 
at /var/www/test/home line 48.

The line in the home script is: 
my ($user_id,$session_key) = &doSession
($page_number,$command,$secure,$page_name);

with the require line reading: 

require "/var/www/test/session_key.pl";

I'm still reading the numerous web sites that refer to this problem, am 
hoping to find a quick fix/good explanation of this problem.

Thank you,

Eric






Reply via email to