Change 20077 by [EMAIL PROTECTED] on 2003/07/08 18:40:51

        Don't recommend to upgrade the base.pm in the core with
        the base.pm from Class::Fields.  They are not the same.

Affected files ...

... //depot/perl/lib/CPAN.pm#57 edit

Differences ...

==== //depot/perl/lib/CPAN.pm#57 (text) ====
Index: perl/lib/CPAN.pm
--- perl/lib/CPAN.pm#56~19985~  Fri Jul  4 05:43:10 2003
+++ perl/lib/CPAN.pm    Tue Jul  8 11:40:51 2003
@@ -1668,6 +1668,11 @@
     for $module (@expand) {
        my $file  = $module->cpan_file;
        next unless defined $file; # ??
+        # Don't offer to upgrade the core base.pm with the base.pm of
+        # the Class::Fields.  Don't autobundle the core base.pm, either.
+        # This is a horrible hack but hopefully cases like this are very,
+        # very rare indeed.
+        next if $module->id eq 'base' && $file =~ m{/Class-Fields-};
        my($latest) = $module->cpan_version;
        my($inst_file) = $module->inst_file;
        my($have);
End of Patch.

Reply via email to