Message-ID: <
4665D3E4.2030809@landgren.net>
Silences some unnecessary carping (e.g. from ExtUtils::Command line 109
when building perl).
p4raw-id: //depot/perl@31336
push @{${$arg->{error}}}, {'' => "No root path(s) specified"};
}
else {
- _carp ("No root path(s) specified\n");
+ $arg->{verbose} and _carp ("No root path(s) specified\n");
}
return 0;
}
$dir2 = catdir($base,'B');
stderr_like(
- \&rmtree,
+ sub { rmtree( [], 1 ) },
qr/\ANo root path\(s\) specified\b/,
"rmtree of nothing carps sensibly"
);