Subject: | Nonono means yesyesyes for UNINST=1 |
Hi,
This is actually an ExtUtils::Install bug, but it doesn't have its own distribution yet so I'm
presuming it doesn't have a queue either.
I've noticed that running the install() function with a true value for $nonono (which Module::
Build does for its 'fakeinstall' action) will still cause files to be removed if the UNINST=1 flag
is given. This is counter to the docs and to expectations.
I believe the problem is in this snippet here:
if (defined $inc_uninstall) {
inc_uninstall($sourcefile,$File::Find::dir,$verbose,
$inc_uninstall ? 0 : 1);
}
which for some reason conditions $nonono for inc_uninstall() on $inc_uninstall. Couldn't it
just pass through its own $nonono there?
I'd try a patch but the current SVN copy is complaining about a missing Test/Builder/
Module.pm when I try to run its tests.
-Ken