From: djk Date: Mon, 19 Jul 1999 17:03:25 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: R_1_31~6 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fd76651ac564ada3deb3e7bdd2bc00498852e539;p=spider.git *** empty log message *** --- diff --git a/cmd/show/dx.pl b/cmd/show/dx.pl index f74fb996..a70ef50f 100644 --- a/cmd/show/dx.pl +++ b/cmd/show/dx.pl @@ -65,7 +65,7 @@ while ($f = shift @list) { # next field my ($a, $b); # $DB::single =1; - if (($a, $b) = $list[0] =~ /(AF|AN|NA|SA|EU|AS|OC)-?(\d\d\d)/oi) { + if ($list[0] && (($a, $b) = $list[0] =~ /(AF|AN|NA|SA|EU|AS|OC)-?(\d\d\d)/oi)) { $a = uc $a; $doiota = "\\b$a\[\-\ \]\?$b\\b"; shift @list;