Stanisław T. Findeisen wrote:
I am trying to require() a file using its absolute name. In command line
mode everything works fine, but not in Apache:
[Fri Feb 27 17:45:07 2009] [error] Can't locate
/home/stf/public_html/test/arcv/public_html/../common.pl in @INC (@INC
contains: /usr/lib/perl5
Dermot Paikkos wrote:
If you are using mod_perl then you can use the PerlSwitches directive
for -I/path/to/common.pl. Alteratively you use `use lib` in your
ticket-list.pl
Alternatively, I can do
chmod g+r,o+r common.pl
:-)
STF
==
I am trying to require() a file using its absolute name. In command line
mode everything works fine, but not in Apache:
[Fri Feb 27 17:45:07 2009] [error] Can't locate
/home/stf/public_html/test/arcv/public_html/../common.pl in @INC (@INC
contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thr