I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-12-10 07:36:25-08 by yiannos
CPAN reporting wrong (?) version of Test::Harness

Hi All,

I have perl 5.8.8 installed.

I get an upgrade recommendation for Test::Harness from cpan:

Package namespace installed latest in CPAN file
Test::Harness 2.52 3.14 ANDYA/Test-Harness-3.14.tar.gz

I also have other problems because of this reported version since other modules refuse to install or upgrade. SInce there was a circular dependency check problem, I could not upgrade T::H. So I ran 'notest force install T::H' and it installed OK. If I now run 'upgrade T::H' I get:

[code]
Package namespace installed latest in CPAN file
Test::Harness 2.52 3.14 ANDYA/Test-Harness-3.14.tar.gz
Running install for module 'Test::Harness'
Running Build for A/AN/ANDYA/Test-Harness-3.14.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Test-Harness-3.14-_1Uezo
Has already been made
Running Build test
Has already been tested successfully
Running Build install
Already done
[/code]

As you see, it seems that the installation of 3.14 has completed but cpan is still reporting 2.52. Needless to say I still cannot upgrade other modules that depend on this.

Any suggestions?

TIA

Yiannos

Direct Responses: 9561 | 9564 | Write a response
Posted on 2008-12-18 11:13:08-08 by yiannos in response to 9535
Re: CPAN reporting wrong (?) version of Test::Harness
..bump..
Direct Responses: Write a response
Posted on 2008-12-18 19:23:54-08 by eserte in response to 9535
Re: CPAN reporting wrong (?) version of Test::Harness
Maybe the old installation is shadowing the new one?
If you don't trust CPAN.pm, then try to get the version number from command line:
perl "-MTest::Harness 99999"
Direct Responses: Write a response