You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2000/12/22 06:57:43 UTC
Re: Apache->server_root_relative not found?
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.