2 # show the prefix info for each callsign or prefix entered
7 my ($self, $line) = @_;
8 my @list = split /\s+/, $line; # generate a list of callsigns
15 #print "line: $line\n";
17 my @ans = Prefix::extract($l);
19 # dbg(join(', ', @ans));
23 push @out, sprintf "%s DXCC: %d ITU: %d CQ: %d LL: %s %s (%s, %s)", uc $l, $a->dxcc, $a->itu, $a->cq, slat($a->lat), slong($a->long), $pre, $a->name;
26 if ($USDB::present && $ans[0]->state) {
27 push @out, sprintf "%s City: %s State: %s", $l, join (' ', map {ucfirst} split(/\s+/, lc $ans[0]->city)), $ans[0]->state;