From 12ed815334f7a48eb12f070ba0b7ed41e58552a8 Mon Sep 17 00:00:00 2001 From: Tom Horsley Date: Fri, 5 Sep 1997 00:00:00 +0000 Subject: [PATCH] CPAN Use of uninitialized value in newest perl p5p-msgid: 9708091738.AA16435@amber.ssd.hcsc.com --- lib/CPAN.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CPAN.pm b/lib/CPAN.pm index e3bb84b..8271076 100644 --- a/lib/CPAN.pm +++ b/lib/CPAN.pm @@ -2039,6 +2039,7 @@ sub rd_modpacks { while (<$fh>) { chomp; my($mod,$version,$dist) = split; +$dist = '' unless defined $dist; ### $version =~ s/^\+//; # if it as a bundle, instatiate a bundle object -- 2.7.4