summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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