On 11/28/2011 6:17 PM, Tim Landscheidt wrote:
I haven't tested it, but the possibility to
"SetEnv
PERL5LIB" in an ".htaccess" file should be an elegant solu-
tion to this, and according to the Zeus documentation, there
seems to be no such thing in ZWS.
#!/usr/bin/perl
BEGIN {
if ( $ENV{SERVER_SOFTWARE} =~ /Apache/ ) {
use lib '/foo/bar/baz';
} else {
use lib '/quux/fuzzle/wuzzle';
}
}
have not tried, but dont see why it wouldn't work.