in reply to Understanding the blib environment produced by 'perl Makefile.PL' and 'make test'

I omitted from Makefile.PL a newly required module

Do you mean that, in the Makefile.PL, you forgot to supply WriteMakefile() with a PREREQ_PM => 'X', argument (where X is the "newly required module") ? That omission won't cause any problems at all iff X has already been installed.

And the inclusion of the PREREQ_PM => 'X', argument won't usually fix any problems - save that it may prompt CPAN.pm to first install X for you (if X is not already present).

Without knowing what the actual errors were, it's hard to speculate further.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Understanding the blib environment produced by 'perl Makefile.PL' and 'make test'
by tod222 (Pilgrim) on Sep 15, 2008 at 17:45 UTC
    ...omission won't cause any problems at all iff X has already been installed.
    Thanks, that's what I thought.

    I think the error was a combination of omitting a needed 'make clean' and running 'prove -b' instead of 'prove -l' so that an outdated blib was getting used instead of the current lib directory.

    Thanks again for your response.