-# $Id: zoomscan.pl,v 1.3 2007-08-17 09:38:13 mike Exp $
-#
+#!/usr/bin/perl -w
+
# This is the scanning counterpart to zoomscan.pl's searching
# perl -I../../blib/lib -I../../blib/arch zoomscan.pl <target> <scanQuery>
#
eval {
my $conn = new ZOOM::Connection($host, 0);
$conn->option(preferredRecordSyntax => "usmarc");
- ### Could use ZOOM::Query::CQL below, but that only work in SRU/W.
+ ### Could use ZOOM::Query::CQL below, but that only works in SRU/W.
my $q = $opts{q} ? new ZOOM::Query::CQL($scanQuery) :
new ZOOM::Query::PQF($scanQuery);
my $ss = $conn->scan($q);