cleverett has asked for the wisdom of the Perl Monks concerning the following question:

CPAN dumps the verbiage below, which makes me think the BEGIN section isn't doing its job of updating %INC. Anyone got a clue stick for me?
Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..1 <h1>Software error:</h1> <pre>Can't locate object method &quot;boot&quot; via package &quot;mod +_perl&quot; at /usr/local/lib/perl/5.8.3/Apache/Constants.pm line 8. Compilation failed in require at blib/lib/Apache/Fake.pm line 257. BEGIN failed--compilation aborted at blib/lib/Apache/Fake.pm line 257. Compilation failed in require at test.pl line 11. BEGIN failed--compilation aborted at test.pl line 11. </pre> <p> For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error. </p> [Wed Mar 9 16:02:01 2005] test.pl: Can't locate object method "boot" +via package "mod_perl" at /usr/local/lib/perl/5.8.3/Apache/Constants. +pm line 8. [Wed Mar 9 16:02:01 2005] test.pl: Compilation failed in require at b +lib/lib/Apache/Fake.pm line 257. [Wed Mar 9 16:02:01 2005] test.pl: BEGIN failed--compilation aborted +at blib/lib/Apache/Fake.pm line 257. [Wed Mar 9 16:02:01 2005] test.pl: Compilation failed in require at t +est.pl line 11. [Wed Mar 9 16:02:01 2005] test.pl: BEGIN failed--compilation aborted +at test.pl line 11. not ok 1 make: *** [test_dynamic] Error 255

Replies are listed 'Best First'.
NeverMind Re: Apache::Fake fails make test
by cleverett (Friar) on Mar 10, 2005 at 01:38 UTC
    Arrgh!

    I relied on CPAN.pm to get me the latest version, and it gave me 0.09; but the latest version is 0.10, which works for me.