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

Owner: Nobody in particular
Requestors: martin [...]

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 [...]
From: Martin Waschbüsch <martin [...]>
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/ 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 infrastructure.

Please report any issues with to