Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I have several CPAN modules that use Module::Build and also use Module::Build::Passthrough to create a Makefile.PL. That is so that people can install the module any way they please, whether or not Module::Build is installed. They are all the simplest possible case - a single pure Perl module with no or minimal dependencies.

    Are you saying that going forward I will be unable to do this?
    • That is so that people can install the module any way they please

      If you were actually using pass-through mode, that would not be the case. The Makefile.PL that is generated in that mode invokes Build.PL to do the work, incidentally offering to recursively install Module::Build if necessary. Therefore such distributions cannot be installed without Module::Build.

      In contrast, the traditional mode you are in fact using generates a regular Makefile.PL that invokes ExtUtils::MakeMaker as per usual, so does indeed allow the user the freedom to choose their preferred method.

      The module in which this is documented is Module::Build::Compat.