Subject: | /some/other/dir/Build does not chdir() into /some/other/dir first |
Contrary to what is documented in L<Module::Build::Authoring/base_dir>, the ./Build script does not chdir() into the toplevel build directory (although it does have code to check that it is running from the right place, and to bail out if not).
I wish Module::Build would behave as documented, and also stash the cwd it was actually launched from and make it available through some extension API, because this would facilitate support for the Emacs debugger (http://sourceforge.net/mailarchive/forum.php?thread_id=8909497&forum_id=10905). Indeed, when Emacs launches something through M-x perldb the cwd is pretty random (depending on the buffer currently being edited).
Using Perl 5.8.4 under Debian Sarge