[Pdx-pm] Dec meeting - This Wednesday

Michael G Schwern schwern at pobox.com
Mon Dec 8 19:16:57 CST 2003


On Mon, Dec 08, 2003 at 04:17:00PM -0800, Randal L. Schwartz wrote:
> Now for an entirely different question that is somewhat related, to a person
> who can possibly answer it *best*...
> 
> why does the Makefile.PL for Class::Prototyped end up with a manpage
> named "Class::Class::Prototyped"?  What logic is it using?
> 
> Of course, an answer is to move the Class dir under lib/, but how does
> it get the *wrong* answer?  What's it thinking?

Its thinking that Class::Prototyped's Makefile.PL manually sets PM
and gets it somewhat wrong.

Class::Prototyped wants to use Class/ but that's not how it works.  It can
use Prototyped/, not Class.  The *second* part of the module name is where
MakeMaker looks, not the first.  So to work around this the author set
their own PM to force it to see the modules.

To avoid all this complexity, just use lib/.


-- 
Michael G Schwern        schwern at pobox.com  http://www.pobox.com/~schwern/
<purl> Hey Schwern! honk, honk, honk, honk, honk, honk, honk, honk,
honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk,
honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk,
honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk,
honk, honk, honk, honk, honk, honk, honk, honk, honk, honk!  



More information about the Pdx-pm-list mailing list