On Fri, 21 Apr 2000, Martin Lichtin wrote:

> Anyone understand why
> 
>     perl -we 'use Apache::Constants; Apache::Constants::OK();'
> 
> causes this problem?

what version of mod_perl are you using?  from the command line you should
get this error:

% perl -we 'use Apache::Constants; Apache::Constants::OK();'
Undefined subroutine &Apache::Constants::OK called at -e line 1.

you can't use Apache::Constants outside of httpd.

Reply via email to