>>>>> On Sat, 24 Jun 2017 20:11:44 +0200, Thomas Orgis <tho...@orgis.org> said:
> Hi, > I am not sure how I should react to this report: > Am Sat, 24 Jun 2017 16:06:40 +0000 > schrieb PAUSE <upl...@pause.perl.org>: >> The following report has been written by the PAUSE namespace indexer. >> Please contact modules@perl.org if there are any open questions. >> >> User: THORGIS (Thomas Orgis) >> Distribution file: Text-NumericData-2.003001.tar.gz >> Status: Decreasing version number >> ================================= >> >> module : Text::NumericData::App >> version: undef >> in file: Text-NumericData-2.003001/lib/Text/NumericData/App.pm >> status : Not indexed because lib/Text/NumericData/App.pm in >> T/TH/THORGIS/Text-NumericData-2.001000.tar.gz has a higher >> version number (0) > [… and so on …] Debugging this sort of thing is not easy. The key is always to go back to the mentioned release and look around. I found this: https://metacpan.org/source/THORGIS/Text-NumericData-2.001000/META.yml#L23 So in this release the META.yml declared that version number is "0". This sticks. > This is the first time that I get that error. Is this check new? Is > undef really smaller than 0 (which should also be undef in this > case)? Yes, Pause considers any version number, including 0 higher than no version number. > I guess I should have an ever-increasing version number in each module > file that is part of the distribution? No. > So far I did not see any problem > with the practise of having $VERSION only in the main API module. Correct. > Should every module file carry a $VERSION? We have no firm stance on that. > A cursory search in my site_perl doesn't reveal conclusive evidence > … there are modules with and without some VERSION being present. > And if I add a version to each module file in the distro, should that > version number match the distro version or be individual to each file, > only increasing when that file changes? Anything goes. > Alrighty then, Hmmm. Probably not allright for you now. Let us know if you need more help. Greets, -- andreas