Mark Stosberg wrote:
+ my $dir = dirname(__FILE__);
+ use lib $dir.'/../config';
+ use lib $dir.'/../perllib';
Actually, for some reason that syntax didn't work either, but this did work on
my modperl-startup.pl:
use lib dirname(__FILE__).'/../config';
use lib dirname(__FILE__).'/../perllib';
Mark
this is a question to the perl gurus here :
In the first part above (what does not work), is it not because the "use
lib" instructions are actually "executed" at the perl *compile* time, at
which time the $dir variable does not have any value yet ?