Zac Morris wrote:
> Yeah, so I've tried these suggestions:
> 
>     use Apache2();
>     use Apache::compat;
> 
> and I'm still getting the errors:
> 
> Undefined subroutine &Apache::Module::loaded called at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/compat.pm line 95.
> Compilation failed in require at ./db_connect_test.pm line 38.
> BEGIN failed--compilation aborted at ./db_connect_test.pm line 38.

Apache::Module is not a part of the mod_perl 1.0 core, unfortunately you 
have to install it to get this thing working. We will see if there is a 
better solution for this kludge.

> I think this boils down to something Per said earlier, I've never installed
> mod_perl1 only mod_perl2 on an apache 2 server...

you cannot install mod_perl 1.0 with apache 2 server. You probably mean 
within the same perl libs install, since you can have both versions 
reside under the same perl installation.

> As I understand it the "use Apache::compat" just allows your script to
> utilize the mod_perl1 modules correct?

mod_perl 1.0's third party modules, yes.


-- 


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to