Skip Menu |

This queue is for tickets about the Package-DeprecationManager CPAN distribution.

Report information
The Basics
Id: 110558
Status: resolved
Priority: 0/
Queue: Package-DeprecationManager

People
Owner: Nobody in particular
Requestors: vlatko.becanovic [...] pixai.se
Cc:
AdminCc:

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



Subject: Redefined warning after update.
Date: Wed, 23 Dec 2015 14:26:43 +0100
To: bug-Package-DeprecationManager [...] rt.cpan.org
From: Vlatko Bečanović <vlatko.becanovic [...] pixai.se>
Hi, After a general update from CPAN I get the following warnings from the perl environment: Exporter.pm: Subroutine DateTime::Format::Strptime::import redefined at /opt/local/lib/perl5/5.16.3/Exporter.pm line 33. DeprecationManager.pm: Subroutine DateTime::Format::Strptime::deprecated redefined at /opt/local/lib/perl5/site_perl/5.16.3/Package/DeprecationManager.pm line 45. constant.pm: Constant subroutine DateTime::Format::Strptime::PERL_58 redefined at /opt/local/lib/perl5/5.16.3/constant.pm line 151. Those were not present prior to the update and I can’t figure out how to remove them. Any suggestions? I am running perl 5, version 16, subversion 3 (v5.16.3) with the latest Datetime::Format::Strptime library (module). Thank you in advance, Vlatko Becanovic See images in a different light. Dr. Vlatko Bečanović Founder +46 76 260 71 66 (SE) +41 79 421 09 05 (CH) Pixai Technology AB • BOX 7016 • 300 07 Halmstad • http://www.pixaitech.com • vlatko.becanovic@pixai.se The information contained in this e-mail and in any attachments is confidential and is intended only for the addressee. If you are not the intended recipient then you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message is strictly prohibited. If you are not the intended recipient of this e-mail and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. If you have received this e-mail in error please notify us by replying to the message and deleting it immediately from your system.
On Wed Dec 23 08:27:26 2015, vlatko.becanovic@pixai.se wrote: Show quoted text
> Hi, > > After a general update from CPAN I get the following warnings from the > perl environment: > > Exporter.pm: > > Subroutine DateTime::Format::Strptime::import redefined at > /opt/local/lib/perl5/5.16.3/Exporter.pm line 33. > > DeprecationManager.pm: > > Subroutine DateTime::Format::Strptime::deprecated redefined at > /opt/local/lib/perl5/site_perl/5.16.3/Package/DeprecationManager.pm > line 45. > > constant.pm: > > Constant subroutine DateTime::Format::Strptime::PERL_58 redefined at > /opt/local/lib/perl5/5.16.3/constant.pm line 151. > > > Those were not present prior to the update and I can’t figure out how > to remove them. Any suggestions?
Can you give me some code that causes this? I don't see this with any code using Strptime myself.
Subject: Re: [rt.cpan.org #110558] Redefined warning after update.
Date: Wed, 23 Dec 2015 17:01:38 +0100
To: bug-Package-DeprecationManager [...] rt.cpan.org
From: Vlatko Bečanović <vlatko.becanovic [...] pixai.se>
Hi, Sorry. After doing the exercise, I found out that I recursively call a module that in turn wanted to use the Strptime package. After correcting for this I don’t get any warnings. Thank you! Vlatko See images in a different light. Dr. Vlatko Bečanović Founder +46 76 260 71 66 (SE) +41 79 421 09 05 (CH) Pixai Technology AB • BOX 7016 • 300 07 Halmstad • http://www.pixaitech.com • vlatko.becanovic@pixai.se The information contained in this e-mail and in any attachments is confidential and is intended only for the addressee. If you are not the intended recipient then you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message is strictly prohibited. If you are not the intended recipient of this e-mail and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. If you have received this e-mail in error please notify us by replying to the message and deleting it immediately from your system. On 23 Dec 2015, at 16:36, Dave Rolsky via RT <bug-Package-DeprecationManager@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110558 > > > On Wed Dec 23 08:27:26 2015, vlatko.becanovic@pixai.se wrote:
>> Hi, >> >> After a general update from CPAN I get the following warnings from the >> perl environment: >> >> Exporter.pm: >> >> Subroutine DateTime::Format::Strptime::import redefined at >> /opt/local/lib/perl5/5.16.3/Exporter.pm line 33. >> >> DeprecationManager.pm: >> >> Subroutine DateTime::Format::Strptime::deprecated redefined at >> /opt/local/lib/perl5/site_perl/5.16.3/Package/DeprecationManager.pm >> line 45. >> >> constant.pm: >> >> Constant subroutine DateTime::Format::Strptime::PERL_58 redefined at >> /opt/local/lib/perl5/5.16.3/constant.pm line 151. >> >> >> Those were not present prior to the update and I can’t figure out how >> to remove them. Any suggestions?
> > Can you give me some code that causes this? I don't see this with any code using Strptime myself.