Trihedralguy has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I've been having some issues with loading modules with Apache:ASP on my main webserver. At home on my local machine everything runs fine without any issues, but when I publish the application to my main webserver (its built very similar to the local home server) the PERL/ASP (Apache::ASP) pages cannot seem to pick up the module no matter where I put it.

[Mon May 03 13:35:10 2010] [error] [asp] [27545] [error] Can't locate object method "process_information" via package "MessageP +rocessor" at /var/www/html/InformationProcess/header.asp line 168. <- +-> , /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.p + m line 1521

I've tried just about everything to get this to work, I have the proper "use Messageprocessor" and the right path for perl to find it. But for some reason the module isnt "being found". At one point I started adding all "MessageProcessors" dependants (other custom modules) to my use, so "use MessageProcessors" and "use MessageProcessorsChild" and at that point I get a strict error saying I've declared a function twice. (Although I have not, so that leads me to believe that the module is being imported but not "used").

I've been beating my head against the wall all week with this issue, please post if you can shed some light on what my issue might be. Thanks!

Replies are listed 'Best First'.
Re: Module Issues / Apache::ASP
by SuicideJunkie (Vicar) on May 05, 2010 at 19:41 UTC

    That doesn't sounds like it can't find the module...
    It sounds like it can't find the method in the module.

    I'd check to make sure you've got the same version on both computers, and maybe do some diffs to be sure.