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

Owner: Nobody in particular
Requestors: matisse [...]

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.
Download (untitled) / with headers
text/plain 608b
Consider the case where PL_files => { 'lib/My/' => [], }, The expected behavior is that Module::Build::Base::process_PL_files() will execute lib/My/ but not add anything to _build/cleanup not _build/build_params. But, lib/My/ 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

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to