File-Path
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
{
mkdir 'solo', 0755;
chdir 'solo';
open my $f, '>', 'foo.dat';
close $f;
my $before = count(curdir());
cmp_ok($before, '>', 0, "ARGV $before");
{
local @ARGV = (1);
mkpath('3rd', !shift, 0755);
}
is(count(curdir()), $before + 1, "third after $before");
$before = count(curdir());
{
local @ARGV = (1);
mkpath('4th', !shift, 0755);
}
is(count(curdir()), $before + 1, "fourth after $before");
chdir updir();
rmtree 'solo';
}
SKIP: {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.079 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )