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

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 16 00:51:29 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


rc040203 at freenet.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|NOTABUG                     |




------- Additional Comments From rc040203 at freenet.de  2005-12-15 19:51 EST -------
(In reply to comment #1)
> This is NOT a perl bug - this is bad perl code in the DBIx::DBSchema module.
> 
> This is an invalid perl statement:
> ---
> do {
>     if $DBD::Pg::VERSION != 1.32 && $DBD::Pg::VERSION < 1.41;
>    }; 
> ---
Yes, but ...

this line orginates from cpan's processing of this block (line 6+) from
/usr/lib/perl5/vendor_perl/5.8.6/DBIx/DBSchema/DBD/Pg.pm:

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;

The do { if ...; }; definitely is invalid Perl, but I don't see what's wrong
with the original code from Pg.pm above.

> Presumably, you downloaded DBIx::DBSchema from cpan and installed it -
> neither Fedora Core nor Fedora Extras provide this module.
FE provides this module, c.f.
http://download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/perl-DBIx-DBSchema-0.28-1.fc4.noarch.rpm

I am its maintainer - This PR is part of investigating on what's wrong with it.

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