--- trunk/lib/WebPAC/Normalize.pm 2006/10/05 12:57:51 736 +++ trunk/lib/WebPAC/Normalize.pm 2006/10/07 16:33:37 740 @@ -1067,7 +1067,11 @@ warn "## lookup returns = ", dump(@out), $/; - return @out; + if ($#out == 0) { + return $out[0]; + } else { + return @out; + } } =head2 save_into_lookup