Your message dated Sun, 16 Oct 2016 13:54:43 +0200
with message-id <20161016115443.gb843...@zedat.fu-berlin.de>
and subject line Re: Bug#836871: libdbi-perl reports Subroutine 
UNIVERSAL::VERSION redefined at /usr/share/perl/5.20/version.pm line 59.
has caused the Debian Bug report #836871,
regarding libdbi-perl reports Subroutine UNIVERSAL::VERSION redefined at 
/usr/share/perl/5.20/version.pm line 59.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
836871: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836871
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libdbi-perl
Version: 1.631-3+b1

When I invoke test.pl with arguments -W from an ordinary shell prompt, it prints the following:

Subroutine UNIVERSAL::VERSION redefined at /usr/share/perl/5.20/version.pm line 59.

Expected Result: No message should appear except for errors related to database connections.

#!/usr/bin/perl
use DBI qw(:sql_types);

$dbconn_conninfo = 'dbi:Pg:dbname=xxxxxx;host=dbserver';
$dbconn_username = 'xxxxxxxxx';


my $handle = DBI->connect($dbconn_conninfo, $dbconn_username, undef, { 
AutoCommit => 0 });


--- End Message ---
--- Begin Message ---
Hi John,

On Tue, Sep 06, 2016 at 10:28:43AM -0700, john.luong wrote:
> Package: libdbi-perl
> Version: 1.631-3+b1
> 
> When I invoke test.pl with arguments -W from an ordinary shell prompt, it
> prints the following:
> 
> Subroutine UNIVERSAL::VERSION redefined at /usr/share/perl/5.20/version.pm
> line 59.

you should use -w instead of -W. Using -W enables all warnings even if
sometimes modules turn off warnings for certain things because they know
what they're about to do will trigger them. So, this is not a bug.

Florian

--- End Message ---

Reply via email to