aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetenv.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/setenv.pl b/setenv.pl
index b48c5697a..b0cf94a78 100755
--- a/setenv.pl
+++ b/setenv.pl
@@ -3,8 +3,6 @@
use strict;
use warnings;
-use List::MoreUtils 'uniq';
-
my $root;
BEGIN { # add the local perllibs too
@@ -28,6 +26,10 @@ for ( "$root/commonlib/perllib", "$root/perllib" ) {
$ENV{PERL5LIB} = "$_:$ENV{PERL5LIB}";
}
+# need to make sure we fetch this after our libs are in INC as some
+# vendor provided versions are old an incompatible with Moose
+use List::MoreUtils 'uniq';
+
# also set the path to our scripts etc
$ENV{PATH} = join ':', uniq "$root/bin", split( m/:/, $ENV{PATH} );