Skip Menu |

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

Report information
The Basics
Id: 2413
Status: resolved
Priority: 0/
Queue: DateTime-Format-Builder

People
Owner: Nobody in particular
Requestors: newtons [...] iinet.net
Cc:
AdminCc:

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

Attachments


Subject: Warnings for redefining subroutines
When I use DateTime::Format::MySQL under mod_perl with PerlWarn On, I get the following displayed: Subroutine DateTime::Format::MySQL::new redefined at /usr/local/share/perl/5.8.0/DateTime/Format/Builder.pm line 73. Subroutine DateTime::Format::MySQL::parse_datetime redefined at /usr/local/share/perl/5.8.0/DateTime/Format/Builder.pm line 80. This could be suppressed by turning redefine warnings off in DateTime::Format::Builder as per the patch Apologies if I'm wrong here, this is the first time I've submitted a bug report. Keep up the fantastic work! Simon N ---- perl -v => 5.8.0 uname -a => Linux quigon.nomis52.net 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown
58a59 > no warnings 'redefine' ;
Date: Sun, 20 Apr 2003 19:31:48 +1000
To: Guest via RT <bug-DateTime-Format-Builder [...] rt.cpan.org>
CC: autarch [...] urth.org
Subject: Re: [cpan #2413] Warnings for redefining subroutines
From: Iain Truskett <spoon [...] cpan.org>
RT-Send-Cc:
* Guest via RT (bug-DateTime-Format-Builder@rt.cpan.org) [20 Apr 2003 14:05]: Show quoted text
> Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=2413 >
Show quoted text
> When I use DateTime::Format::MySQL under mod_perl with PerlWarn On, I > get the following displayed:
Show quoted text
> Subroutine DateTime::Format::MySQL::new redefined at > /usr/local/share/perl/5.8.0/DateTime/Format/Builder.pm line 73. > Subroutine DateTime::Format::MySQL::parse_datetime redefined at > /usr/local/share/perl/5.8.0/DateTime/Format/Builder.pm line 80.
Show quoted text
> This could be suppressed by turning redefine warnings off in > DateTime::Format::Builder as per the patch
Alternatively, by fixing MySQL.pm which appears to have some cruft in it. [Dave, that's the patch I submitted a few days ago.] That said, there will be a new Builder at some point today that will not overwrite new() and will complain if you try to use it to create a method that already exists. Show quoted text
> Apologies if I'm wrong here, this is the first time I've submitted a > bug report.
It's a good report =) Many thanks for using the RT system. Not enough people do. Show quoted text
> Keep up the fantastic work!
I'll try. You keep up the reports =) cheers, -- Iain.
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.