1
http://padre.perlide.org/trac/changeset/5258
3
--- a/lib/Padre/Constant.pm
4
+++ b/lib/Padre/Constant.pm
6
use constant PLUGIN_LIB => File::Spec->catdir( PLUGIN_DIR, 'Padre', 'Plugin' );
8
# Check and create the directories that need to exist
9
-unless ( -e CONFIG_DIR or File::Path::make_path(CONFIG_DIR) ) {
10
+unless ( -e CONFIG_DIR or File::Path::mkpath(CONFIG_DIR) ) {
11
Carp::croak( "Cannot create config dir '" . CONFIG_DIR . "': $!" );
13
-unless ( -e PLUGIN_LIB or File::Path::make_path(PLUGIN_LIB) ) {
14
+unless ( -e PLUGIN_LIB or File::Path::mkpath(PLUGIN_LIB) ) {
15
Carp::croak( "Cannot create plugins dir '" . PLUGIN_LIB . "': $!" );
18
--- a/lib/Padre/PluginManager.pm
19
+++ b/lib/Padre/PluginManager.pm
21
my $plugin_dir = $self->plugin_dir;
22
my $cache_dir = File::Spec->catdir( $plugin_dir, 'cache' );
23
$ENV{PAR_GLOBAL_TEMP} = $cache_dir;
24
- File::Path::make_path($cache_dir) unless -e $cache_dir;
25
+ File::Path::mkpath($cache_dir) unless -e $cache_dir;
26
$ENV{PAR_TEMP} = $cache_dir;
28
$self->{par_loaded} = 1;