Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Time-Local CPAN distribution.

Report information
The Basics
Id: 116825
Status: resolved
Priority: 0/
Queue: Time-Local

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 1.2100
  • 1.2200
  • 1.2300
Fixed in: 1.24



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.
 



-- 
Olivier Mengué - http://perlresume.org/DOLMEN
Here is the pull request:
https://github.com/autarch/Time-Local/pull/1


-- 
Olivier Mengué - http://perlresume.org/DOLMEN
You can just use [DualLife], which takes care of all the details for you.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.