On Mon, 27 Nov 2000, The BOFH wrote:
 
> BEGIN {
>    use Apache ();
>    use lib Apache->server_root_relative('libperl');   ## 
> /usr/local/apache/libperl created
> }
... 
> perl -cw modperl_startup.pl returns:
> 
> Can't locate object method "server_root_relative" via package "Apache" at 
> conf/modperl_startup.pl line 5.  mod_perl was built with EVERYTHING=1.

Apache-> methods are only available inside the server, not on the command
line.  perl -c will pass if you remove the BEGIN block, which is not
required in either case.

Reply via email to