Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-FindDependencies CPAN distribution.

Report information
The Basics
Id: 34814
Status: resolved
Priority: 0/
Queue: CPAN-FindDependencies

Owner: dcantrell [...]
Requestors: itegebo [...]

Bug Information
Severity: Wishlist
Broken in: 2.0
Fixed in: (no value)


Subject: [PATCH] Adding support for dependencies specified in Makefile.PL
Download (untitled) / with headers
text/plain 856b
I noticed that there were a number of modules whose distributions do not have a META.yml file. I created a module that provides a function for extracting the PREREQ_PM lines from most Makefiles generated by the ExtUtils::MakeMaker module. There are limitations. In particular, the libwww-perl-5808 distribution fails because the Makefile.PL expects certain files and makes external calls which cause the eval to fail. One might be able to work around this by falling back to a simple text scan of the Makefile.PL rather than evaling Makefile.PL into memory (utilizing overridden functions from ExtUtil-MakeMaker). I chose the more complicated method because I expected many authors might generate the PREREQ_PM parameter of the writeMakefile() call from elsewhere in the Makefile.PL. I've also made efforts to update the tests, only if superficially.
Subject: CPAN-FindDependencies-2.0.patch.gz

Message body not shown because it is not plain text.

Thanks, this looks very useful. It will be in the next release.
Incorporated in 2.1

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

Please report any issues with to