summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Horsley <tom@amber.ssd.hcsc.com>1997-09-05 00:00:00 +0000
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-09-05 00:00:00 +1200
commit12ed815334f7a48eb12f070ba0b7ed41e58552a8 (patch)
tree175752485097dc05c4fd4f03d42d0ced923b9a28 /lib
parent8c03c583a5f470c68c67a27898643a5dafca2d66 (diff)
downloadperl-12ed815334f7a48eb12f070ba0b7ed41e58552a8.tar.gz
CPAN Use of uninitialized value in newest perl
p5p-msgid: 9708091738.AA16435@amber.ssd.hcsc.com
Diffstat (limited to 'lib')
-rw-r--r--lib/CPAN.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CPAN.pm b/lib/CPAN.pm
index e3bb84b8ad..8271076bef 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