X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=samples%2Fnet-z3950%2Fzoomtst1.pl;h=0c793a39776b1307296cd61e5744898ee50d414e;hb=22ba4cea82444cfaab55ba4b787d909d9ac2d307;hp=0d9033c5a2d506a6368ae3e0273ab879ca0af0b4;hpb=6f4c75a267b8dad16c67dc4a3bda60141609d545;p=ZOOM-Perl-moved-to-github.git diff --git a/samples/net-z3950/zoomtst1.pl b/samples/net-z3950/zoomtst1.pl index 0d9033c..0c793a3 100644 --- a/samples/net-z3950/zoomtst1.pl +++ b/samples/net-z3950/zoomtst1.pl @@ -1,4 +1,4 @@ -# $Id: zoomtst1.pl,v 1.1 2005-10-12 11:53:00 mike Exp $ +# $Id: zoomtst1.pl,v 1.2 2005-10-12 14:35:46 mike Exp $ # # See ../README for a description of this program. # perl -I../../blib/lib -I../../blib/arch zoomtst1.pl @@ -30,6 +30,7 @@ $conn->option(elementSetName => "F"); my $rs = $conn->search(-prefix => $query) or die "can't search for '$query': ", $conn->errmsg(); my $n = $rs->size(); +print "Query '$query' found $n records\n"; ### Note that the record-index is 1-based here, 0-based in ZOOM-C for my $i (1..$n) {