1 # $Id: zoomtst1.pl,v 1.1 2005-10-12 11:53:27 mike Exp $
3 # See ../README for a description of this program.
4 # perl -I../../blib/lib -I../../blib/arch zoomtst1.pl <target> <query>
11 print STDERR "Usage: $0 target query\n";
12 print STDERR " eg. $0 bagel.indexdata.dk/gils computer\n";
16 my($host, $query) = @ARGV;
17 my $conn = new ZOOM::Connection($host, 0);
18 $conn->option(preferredRecordSyntax => "usmarc");
19 my $rs = $conn->search_pqf($query);
22 my $rec = $rs->record($i);
23 print "=== Record ", $i+1, " of $n ===\n";