From 823ad1912fb8c23786bc24fe85bec609469453a5 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Thu, 12 Jan 2012 13:58:57 +0000 Subject: move location of use List::MoreUtils to make sure we get our version --- setenv.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'setenv.pl') 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} ); -- cgit v1.2.3