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> |
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.