Revision history for local::lib
+1.008008 2013-02-24
+
+ - Fix putting arch path in PERL5LIB
+ - Refactor Win32 path handling out of ensure_dir_structure_for()
+ - Fix activate_paths when PERL_LOCAL_LIB_ROOT starts with :
+ - Fix ~/perl5/bin missing in $PATH
+
1.008007 2013-02-17
- Back to 1.008004 with Carp fix since subsequent releases were botched
- Avoid issue where PERL5LIB Carp is older than local::lib one
use File::Path ();
use Config;
-our $VERSION = '1.008007'; # 1.8.4
+our $VERSION = '1.008008'; # 1.8.8
our @KNOWN_FLAGS = qw(--self-contained --deactivate --deactivate-all);
$class->setup_env_hash_for($path, $deactivating);
my $arch_dir = $Config{archname};
@INC = _uniq(
- (
- # Inject $path/$archname for each path in PERL5LIB
- map { ( File::Spec->catdir($_, $arch_dir), $_ ) }
- split($Config{path_sep}, $ENV{PERL5LIB})
- ),
- @INC
+ (
+ # Inject $path/$archname for each path in PERL5LIB
+ map { ( File::Spec->catdir($_, $arch_dir), $_ ) }
+ split($Config{path_sep}, $ENV{PERL5LIB})
+ ),
+ @INC
);
}
}
),
PATH => _env_list_value(
{ interpolate => $interpolate, exists => 0, empty => '' },
- $class->install_base_bin_path($path),
+ $class->install_base_bin_path($path),
\'PATH',
),
)