Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 39365
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: matisse [...] spamcop.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.2808
  • 0.2808_01
Fixed in: (no value)



Subject: process_PL_files does not execute PL file when $to is empty list.
Consider the case where PL_files => { 'lib/My/Special.pm.PL' => [], }, The expected behavior is that Module::Build::Base::process_PL_files() will execute lib/My/Special.pm.PL but not add anything to _build/cleanup not _build/build_params. But, lib/My/Special.pm.PL does not get executed. This seems to be because Module::Build::Base::up_to_date returns true when @$derived is empty. up_to_date() takes two arguments: $source and $derived If the second argument is empty then up_do_date returns true, which is probably wrong. Instead, I think up_to_date() should return false if @$derived is empty.
Fixed in repository trunk