- or download this
BEGIN {
my $path=$0;
$path=~s{[^\/]+$}{libs/};
}
use lib $path;
- or download this
<virtualhost *:80>
# ...
PerlSetVar libpath "/path/to/your/libs/";
</virtualhost>
- or download this
BEGIN {
my $path=$r->dir_config("libpath");
}
use lib $path;