Branch: refs/heads/ilmari/corelist-functions Home: https://github.com/Perl/perl5 Commit: 2c68c48ea5f830dd0f1e0678a71bf5bed74c1bc5 https://github.com/Perl/perl5/commit/2c68c48ea5f830dd0f1e0678a71bf5bed74c1bc5 Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2020-04-09 (Thu, 09 Apr 2020)
Changed paths: M dist/Module-CoreList/corelist Log Message: ----------- corelist: Call Module::CoreList functions as functions, not methods Module::CoreList functions can be called either as methods or function, and several of them only shift off the invocant if the second argument is a valid module name, isn't. This means that `Module::CoreList->first_release($not_a_module)` gets interpreted as `Module::CoreList::first_release('Module::CoreList', $not_a_module)`, and so reports whichever perl release had Module::CoreList with `$VERSION ge $not_a_module`. Fixes #16809.