'Scope::Guard' => '0.03',
'SQL::Abstract' => '1.73',
'Try::Tiny' => '0.04',
-
- # dual-life corelibs needing a specific bugfixed version
- 'File::Path' => '2.07',
};
my $build_requires = {
} else {
-d $dir
or
- (require File::Path and File::Path::make_path ("$dir")) # make_path does not like objects (i.e. Path::Class::Dir)
+ (require File::Path and File::Path::mkpath (["$dir"])) # mkpath does not like objects (i.e. Path::Class::Dir)
or
$self->throw_exception(
"Failed to create '$dir': " . ($! || $@ || 'error unknown')