[Bug 175468] error on version check during "cpan r"

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 20 17:34:21 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: error on version check during "cpan r"


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175468





------- Additional Comments From jvdias at redhat.com  2005-12-20 12:34 EST -------
Yes, this is a CPAN problem - but it still occurs with the latest 1.8 CPAN 
version.

The workaround is to simply move DBIx/DBSchema/DBD/Pg.pm's '$VERSION' setting
up a few lines:

---
--- DBSchema/DBD/Pg.pm  2005-04-07 04:14:52.000000000 -0400
+++ /tmp/Pg.pm  2005-12-20 12:26:37.000000000 -0500
@@ -2,13 +2,14 @@

 use strict;
 use vars qw($VERSION @ISA %typemap);
+$VERSION = '0.10';
+
 use DBD::Pg 1.32;
 die "DBD::Pg version 1.32 or 1.41 (or later) required--".
     "this is only version $DBD::Pg::VERSION\n"
   if $DBD::Pg::VERSION != 1.32 && $DBD::Pg::VERSION < 1.41;
 use DBIx::DBSchema::DBD;

-$VERSION = '0.10';
 @ISA = qw(DBIx::DBSchema::DBD);
--

Then all is OK with cpan 'r' . 

Yes, this is very weird, and is an upstream CPAN issue - I'll take this up with
the CPAN developer.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list