This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
22584
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
mschwern [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Unimportant
Broken in:
(no value)
Fixed in:
(no value)



Subject: Installed versions of 0 are turned into undef by inst_version()
When an installed module has a version number of 0, inst_version() is returning back undef because of this line in CPAN.pm: 7247: $have = MM->parse_version($parsefile) || "undef"; parse_version() already transforms undef into the string "undef" for you since at least 5.42 (shipped with 5.4.5) so I think you're safe simply removing the || "undef" part.
Fixed in 1.88_63. Thanks!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.