summaryrefslogtreecommitdiff
path: root/lib/CPAN.pm
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2001-06-22 20:25:56 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-24 16:38:23 +0000
commitd5a05a340c0196d58d7d52443fc932ff9d1f429b (patch)
tree8453d81a2f6f8eeb2bfc0abbd7a46c005005fd5e /lib/CPAN.pm
parent06916929111343f66bb3fd9b6b44bd563b6a22ae (diff)
downloadperl-d5a05a340c0196d58d7d52443fc932ff9d1f429b.tar.gz
missing DATE_OF_02
Message-Id: <200106221825.TAA16884@tempest.npl.co.uk> p4raw-id: //depot/perl@10897
Diffstat (limited to 'lib/CPAN.pm')
-rw-r--r--lib/CPAN.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CPAN.pm b/lib/CPAN.pm
index 7cab8c606d..817e970320 100644
--- a/lib/CPAN.pm
+++ b/lib/CPAN.pm
@@ -3360,7 +3360,8 @@ sub read_metadata_cache {
# does initialize to some protocol
$LAST_TIME = $cache->{last_time};
$DATE_OF_02 = $cache->{DATE_OF_02};
- $CPAN::Frontend->myprint(" Database was generated on $DATE_OF_02\n");
+ $CPAN::Frontend->myprint(" Database was generated on $DATE_OF_02\n")
+ if defined $DATE_OF_02; # An old cache may not contain DATE_OF_02
return;
}