Permalink
Browse files

move location of use List::MoreUtils to make sure we get our version

  • Loading branch information...
1 parent 8b9396b commit 823ad1912fb8c23786bc24fe85bec609469453a5 @struan struan committed Jan 12, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 setenv.pl
View
6 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 @@ BEGIN
$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} );

0 comments on commit 823ad19

Please sign in to comment.