+# $DB::single = 1;
+ _send($conn, $msg, $dxchan);
+ }
+}
+
+sub handle
+{
+ my ($self, $line) = @_;
+ my $call = $self->call;
+ my @out;
+
+ return (1, $self->msg('e24')) unless $Internet::allow;
+ return (1, "SHOW/QRZ <callsign>, e.g. SH/QRZ g1tlh") unless $line;
+ my $target = $Internet::qrz_url || 'xmldata.qrz.com';
+ my $port = 80;
+ my $path = qq{/xml/current/?callsign=$line;username=$Internet::qrz_uid;password=$Internet::qrz_pw;agent=dxspider};
+ dbg("qrz: $target:$port$path") if isdbg('qrz');
+
+ Log('call', "$call: show/qrz \U$line");
+ my $conn = AsyncMsg->get($self, $target, $port, $path, filter=>\&filter, prefix=>'qrz> ', on_disc=>\&_on_disc);
+ if ($conn) {
+ $conn->{state} = 'blank';
+ push @out, $self->msg('m21', "show/qrz");