user1484613
user1484613

Reputation:

CPAN thinks an outdated module is up to date

$ sudo cpanm Heap::Priority
Heap::Priority is up to date. (0.01)

The current version is 0.11. I'm new to CPAN so I'm getting really frustrated. What's wrong and how do I fix it? Thanks.

Upvotes: 6

Views: 394

Answers (1)

ysth
ysth

Reputation: 98378

0.11 is an unauthorized release, a CPAN upload by someone not designated as allowed by the owner of Heap::Priority. To install alpha/beta or unauthorized releases, you explicitly specify the author and full distribution name/version:

cpanm FWOJCIK/Heap-Priority-0.11

Update: I thought you needed to include the .tar.gz (or other extension) too, but when I tried it, it worked without; this may vary by perl/cpanm version?

Upvotes: 15

Related Questions