diff options
author | Struan Donald <struan@exo.org.uk> | 2012-01-12 13:58:57 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-01-12 13:58:57 +0000 |
commit | 823ad1912fb8c23786bc24fe85bec609469453a5 (patch) | |
tree | 2064122b148cfa5f9126458e1f14f12b50444d2b /setenv.pl | |
parent | 8b9396bc92caad2610b51615c85552430af17c71 (diff) |
move location of use List::MoreUtils to make sure we get our version
Diffstat (limited to 'setenv.pl')
-rwxr-xr-x | setenv.pl | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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} ); |