Subject: | Bundled module's Makefile.PL ignored if Build.PL is present |
Back at version 0.95, if a bundled distribution had both a Bundle.PL and
an Makefile.PL file, the distribution was correctly built.
Currently (since version 0.96) there's an explicit rejection of
distributions which contain Bundle.PL. Some modules (Capture::Tiny for
example) provide both Bundle.PL and Makefile.PL and work just fine with
"perl Makefile.PL" and are thus being incorrectly rejected. My
previously working distributions are now failing.
I think the current behavior is too restrictive. The crucial test is
for the existence of Makefile.PL. Since there's an explicit rejection
of distributions without a Makefile.PL, the added rejection of Bundle.PL
is superfluous, and as in case of Capture::Tiny, results in
inappropriate rejection of distributions.
I think it would also be useful if at make dist time such rejections
were flagged as errors.
Thanks!
Diab