Skip Menu |

This queue is for tickets about the Log-Dispatch-FileRotate CPAN distribution.

Report information
The Basics
Id: 124694
Status: resolved
Priority: 0/
Queue: Log-Dispatch-FileRotate

People
Owner: Nobody in particular
Requestors: mbow.gora [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unexpected warning on Perl 5.10.1
Date: Mon, 5 Mar 2018 23:15:21 +0100
To: bug-Log-Dispatch-FileRotate [...] rt.cpan.org
From: gora mbow <mbow.gora [...] gmail.com>
Hello, I am running Perl 5.10.1 on Linux x86. Just upgraded to the latest CPAN version of Log::Dispatch::FileRotate (1.34), and since then I am getting the following warning everytime the module is loaded. $ perl -MLog::Dispatch::FileRotate -e 'print $Log::Dispatch::FileRotate::VERSION, "\n"' Warning: Use of "localtime" without parentheses is ambiguous at /usr/local/share/perl5/Log/Dispatch/FileRotate.pm line 650. 1.34 $ I think it should a very simple change to fix the offending line so the module loads without warning on Perl versions such as mine. I can submit a Github pull request of you like. Thanks ! Gora ----------------------------------------------------------------------- $ uname -a Linux FRMSMONADM01 2.6.32-573.12.1.el6.x86_64 #1 SMP Mon Nov 23 12:55:32 EST 2015 x86_64 x86_64 x86_64 GNU/Linux $ $ $ perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $
Thanks! Fixed in v1.35, which has just been uploaded to CPAN. -- Regards, Michael Schout
Subject: Re: [rt.cpan.org #124694] Unexpected warning on Perl 5.10.1
Date: Thu, 8 Mar 2018 22:35:18 +0100
To: bug-Log-Dispatch-FileRotate [...] rt.cpan.org
From: gora mbow <mbow.gora [...] gmail.com>
Hello Michael Installed the new version and the warning is gone. Thanks for quickly taking this into account ! Bye Gora 2018-03-07 16:44 GMT+01:00 MSCHOUT via RT < bug-Log-Dispatch-FileRotate@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124694 > > > Thanks! > > Fixed in v1.35, which has just been uploaded to CPAN. > > -- > Regards, > Michael Schout >