James E Keenan wrote: > [[[[ snip ]]]] > > The thing that puzzled me about Burnout's test failures was that they > seemed to happen at places where the code was very mundane. We've > been communicating on this list, Perlmonks, and off-list about it for > weeks. We did confirm that the tests were referencing the old, > installed version of EU::ModuleMaker, but couldn't figure out why that > was so. > > But if the problem was not, per se, that Burnout was running 5.6.1, > but that he was running an old version of EU::MakeMaker that kept > pointing back to the old, installed version of EU::ModuleMaker (keep > those names straight!), then a lot becomes explicable. (What follows > refers to test failure reports Burnout sent me off-list on Sept 7.) > > t/02_bad_constructor..............Odd number of elements in hash > assignment at > /usr/local/lib/perl5/site_perl/5.6.1/ExtUtils/ModuleMaker.pm line 232. > # Failed test (t/testlib/Auxiliary.pm at line 163) > # '' > # doesn't match '(?-xism:^Must be hash or balanced list of > key-value pairs:)' > Odd number of elements in hash assignment at > /usr/local/lib/perl5/site_perl/5.6.1/ExtUtils/ModuleMaker.pm line 232. > > Of course, in the old version of ModuleMaker, the value of AUTHOR was > a hash of hashes, i.e., a 2-level hash. In my recent versions, the > elements in the inner level have been moved up to the top level; the > value of AUTHOR is a string, not a reference. > > t/09_miscargs.....................Can't locate object method > "dump_keys" via package "ExtUtils::ModuleMaker" (perhaps you forgot to > load "ExtUtils::ModuleMaker"?) at t/09_miscargs.t line 178. > # Looks like you planned 225 tests but only ran 66. > # Looks like your test died just after 66. > > The old, installed version of EU::ModuleMaker had no dump_keys method > -- so of course it couldn't be found. > > Once Burnout upgraded, he got a new version of EU::MakeMaker. But we > probably could have fixed the problem *simply* by upgrading MakeMaker. > > Burnout: Do you remember which version of EU::MakeMaker you were using?
well, this may help a bit: ( from /usr/local/lib/perl5/5.6.1/ExtUtils/MakeMaker.pm ) $VERSION = '6.30'; ($Revision = q$Revision: 4535 $) =~ /Revision:\s+(\S+)/; ( i can run the tests against the 5.6.1 install still; i just need to explicitly reference that binary. ) --b--