On Thu, 4 May 2000, Tom Roche wrote:
> I'm trying to use Devel::Symdump to document code, but Perl
> is choking when it hits (what appears to me to be) autoloadable
> stuff. I'd like to know how to invoke (or patch, or whatever) Perl in
> such a way so as to ignore such problems (or perhaps merely warn/carp
> about them), or how to run Devel::Symdump under Apache.
> Unfortunately Loader, or rather Perl, is having a problem with
> Apache::DBI.pm. The first source file require's OK. The second source
> file, GetDBs.pm, use's Apache::DBI(), line 202 of which is
>
> > ) if ($INC{'Apache.pm'} and Apache->module('Apache::Status'));
that's because Apache::module is only defined when you're running inside
httpd. that line should be something like:
if ($INC{'Apache.pm'} and $ENV{MOD_PERL} and Apache->module('Apache::Status'));
to work inside and outside httpd.