"[EMAIL PROTECTED]" wrote:
>
> Hi,
>
> I've looked in the archives and the docs, but can't seem to find an answer. I can't
>be the only one having this problem. I'm trying to install ApacheDBI and it goes on
>fine, but whenever I try and use it I get a compilation error:
>
> Can't locate object method "module" via package "Apache" at /usr/lib/perl5/site_
> perl/5.005/Apache/DBI.pm line 202.
>
> Sure enough, as far as I can tell Apache.pm or any of it's base classe's don't
>implement sub module, so I'm not sure how this should work in Apache::DBI:
>
> 202: ) if ($INC{'Apache.pm'} and Apache->module('Apache::Status'));
>
> (which looks like a nice feature, being able to see the status). Once I comment out
>this block everything works fine. I have mod_perl 1.21 installed and running fine.
>
> Any ideas?
>
> Alex
are you trying to use it from the command-line ?
this won't work, you can only use it running with
apache/mod_perl.
Edmund
--
Edmund Mergl
mailto:[EMAIL PROTECTED]
http://www.bawue.de/~mergl