mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Modperl: Honor PERL5LIB env var
This commit is contained in:
@@ -18,6 +18,11 @@ use 5.010;
|
||||
use strict;
|
||||
use warnings;
|
||||
use ZNC;
|
||||
|
||||
# From http://search.cpan.org/dist/perl5lib/lib/perl5lib.pm
|
||||
use Config;
|
||||
use lib map { /(.*)/ } split /$Config{path_sep}/ => $ENV{PERL5LIB};
|
||||
|
||||
use IO::File;
|
||||
use feature 'switch', 'say';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user