Stas Bekman wrote:
> As you can see at the attached below correspondance, some people try to
> use Apache::compat without having mod_perl 1.0 installed, and things
> don't work as expected. So at least this patch hints on how to solve the
> problem.
So while this patch is a step forward, it's still not satisfactory,
because if mod_perl 1.0 is not installed, Apache::Module won't compile.
Ideas? Should Apache::compat require mod_perl 1.0?
> sub module {
> - require Apache::Module;
> + eval { require Apache::Module };
> + die "Please install Apache::Module from CPAN" if $@;
> return Apache::Module::loaded($_[1]);
> }
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]