John Peacock wrote:
FWIW, Andreas already augmented PAUSE and the CPAN indexer to use
version.pm (almost a year ago, when I noticed that TheDamian was
recommending version objects in PBP). What other parser of META.yml are
you concerned with?
E.g. CPAN.pm and Module::CPANTS::Analyse. (Based on some quick greps of
the source.)
Both have regex code that assumes versions are only digits and periods.
(Though CPAN.pm lets it through unless the "version" resembles an
available module.)
And who knows what other code is out there in the wild, not on CPAN?
The META.yml spec doesn't provide any guidance so people have been free
to do whatever.
Regards,
David