From fd76651ac564ada3deb3e7bdd2bc00498852e539 Mon Sep 17 00:00:00 2001 From: djk Date: Mon, 19 Jul 1999 17:03:25 +0000 Subject: [PATCH] *** empty log message *** --- cmd/show/dx.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0