This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Improve handling of broken versions in Module::CoreList::is_core
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Jan 2018 13:10:57 +0000 (13:10 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Jan 2018 18:01:06 +0000 (18:01 +0000)
commita0f8d0d7c55d26446d5f8313a53e93b869f92005
tree5028fb223fc9a92abcc7f0f7d45d50231b48c099
parentd719fa5c3e28157ca2c330c3592fc76a71ab0fc3
Improve handling of broken versions in Module::CoreList::is_core

- Only parse the user-provided version once
- Include the invalid version in the error message
- Ignore broken versions in M:CL's own data
dist/Module-CoreList/Changes
dist/Module-CoreList/lib/Module/CoreList.pm
dist/Module-CoreList/lib/Module/CoreList/TieHashDelta.pm
dist/Module-CoreList/lib/Module/CoreList/Utils.pm
dist/Module-CoreList/t/is_core.t