On May 15, 2009, at 12:00 PM, Smylers wrote:

Graham Barr writes:

It is documented in ExtUtils::MakeMaker

PMLIBDIRS
Ref to array of subdirectories containing library files.

Thanks.

So for this modules it will scan lib/ and DWIW/ neither of which
exist. It also scans .

Having never tried to use a directory layout other than ./lib/ I hadn't thought about where this came from, and having seen the correct filename mentioned in somewhere in Makefile.PL presumed that meant MakeMaker knew
about it.

It actually predates MM supporting lib/

Many XS extensions have the main pm file in the top directory

So would it make sense for MakeMaker to warn if a file mentioned in
VERSION_FROM (or ABSTRACT_FROM -- any others?) is in a directory that
isn't in PMLIBDIRS?

I actually have a dist which deliberately does just that

Graham.

Reply via email to