Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Format-Strptime CPAN distribution.

Report information
The Basics
Id: 108871
Status: resolved
Priority: 0/
Queue: DateTime-Format-Strptime

People
Owner: Nobody in particular
Requestors: martin [...] waschbuesch.de
Cc:
AdminCc:

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



Subject: possible regression in 1.60?
Date: Fri, 13 Nov 2015 08:34:49 +0100
To: bug-DateTime-Format-Strptime [...] rt.cpan.org
From: Martin Waschbüsch <martin [...] waschbuesch.de>
Download (untitled) / with headers
text/plain 501b
After upgrading DateTime::Format::Strptime to the latest 1.60, I get complaints. Sample Code: #!/usr/bin/perl -w use strict; use warnings; use DateTime::Format::Strptime; my $parser = DateTime::Format::Strptime->new( pattern => '%T', locale => 'de_DE', time_zone => 'Europe/Berlin', ); my $time = $parser->parse_datetime( '2015-11-13 08:15:00' ); Running this results in: Subroutine DateTime::Format::Strptime::import redefined at /usr/local/lib/perl5/5.20/Exporter.pm line 33.
Download (untitled) / with headers
text/plain 163b
This is definitely a regression, but you should never run perl with the -w flag ;) This warning is actually a symptom of a larger bug. I'll release a fix shortly.


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.