On Thu, 11 Jul 2002 16:56:38 -0700
Josh Bernstein <[EMAIL PROTECTED]> wrote:
: "/". My question is how can I set the working directory to be the
: location of where the script is running..... (This would make mod_perl
: correctly locate file that I have included in the running script ie:
: require "./file.pl") Can this be done from within Apache?
Maybe you could use this trick:
use FindBin qw($Bin);
use lib $Bin;
Take a look at the standard idioms to modify @INC under mod_perl as
well, they are explained here:
http://perl.apache.org/guide/porting.html#_INC_and_mod_perl
-- fxn