Subject: | Time::Local does not upgrade on perl < 5.12 |
On perl < 5.12, site_perl is in@INC after the path where core modules are installed.
So when Time::Local 1.2300 is installed in site_perl, it is not visible and the original Time::Local from install time remain the visible one.
This issue has been introduced when the distribution has been switched to Dist::Zilla with release 1.2100.
Here is the fix to add in Makefile.PL:
INSTALLDIRS => ($] >= 5.006002 && $] < 5.012000) ? 'perl' : 'site',
Here is the fix for dist.ini
[MakeMaker::Awesome]
WriteMakefile_arg = INSTALLDIRS => ($] >= 5.006002 && $] < 5.012000) ? 'perl' : 'site'
I'll make a pull request.
I'll make a pull request.
--
Olivier Mengué - http://perlresume.org/DOLMEN