Remove extraneous and misleading old CVS IDs
[ZOOM-Perl-moved-to-github.git] / samples / net-z3950-zoom / zoomtst1.pl
index a08cd89..ccdd925 100644 (file)
@@ -1,5 +1,3 @@
-# $Id: zoomtst1.pl,v 1.2 2005-10-12 14:35:58 mike Exp $
-#
 # See ../README for a description of this program.
 # perl -I../../blib/lib -I../../blib/arch zoomtst1.pl <target> <query>
 
@@ -9,7 +7,7 @@ use Net::Z3950::ZOOM;
 
 if (@ARGV != 2) {
     print STDERR "Usage: $0 target query\n";
-    print STDERR "     eg. $0 bagel.indexdata.dk/gils computer\n";
+    print STDERR "     eg. $0 z3950.indexdata.dk/gils computer\n";
     exit 1;
 }
 
@@ -37,8 +35,7 @@ print "Query '$query' found $n records\n";
 for my $i (0..$n-1) {
     my $rec = Net::Z3950::ZOOM::resultset_record($rs, $i);
     print "=== Record ", $i+1, " of $n ===\n";
-    my $dummy = 0;
-    print Net::Z3950::ZOOM::record_get($rec, "render", $dummy);
+    print Net::Z3950::ZOOM::record_get($rec, "render");
 }
 
 Net::Z3950::ZOOM::resultset_destroy($rs);