Subject: | Version 0 vs undef for modules with no version. |
Problem:
- packages without a VERSION
Why?
- CPAN indexer indexes them as version 0.
- CPAN (the module) interprets their version as undef.
Consequence:
when running 'r' in the cpan shell, I get lots of messages like this:
HTML::Mason::Apache::Request undef 0
DROLSKY/HTML-Mason-1.48.tar.gz
If you check
https://metacpan.org/source/DROLSKY/HTML-Mason-1.48/lib/HTML/Mason/Apache/Request.pm,
there is no VERSION.
Although in that case Dave could add a VERSION, there are some other
cases, like this one:
Lingua::NATools::Config undef 0
AMBS/Lingua/Lingua-NATools-v0.6.1.tar.gz
Where the Config module is generated by Module::Build.
What would be the best way to solve? make the indexer index as undef, or
make cpan treat 0 and undef as same?