From: Mike Taylor Date: Wed, 25 Oct 2006 10:49:51 +0000 (+0000) Subject: Tweak irspy_search_pqf() call to use new API with options hash. X-Git-Tag: CPAN-v1.02~54^2~869 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=3eb45f19a5b14ee0daf4f54d1566126e1a1c44e9 Tweak irspy_search_pqf() call to use new API with options hash. --- diff --git a/lib/ZOOM/IRSpy/Test/Search/Bib1.pm b/lib/ZOOM/IRSpy/Test/Search/Bib1.pm index e5ecfdc..fc1bf2c 100644 --- a/lib/ZOOM/IRSpy/Test/Search/Bib1.pm +++ b/lib/ZOOM/IRSpy/Test/Search/Bib1.pm @@ -1,4 +1,4 @@ -# $Id: Bib1.pm,v 1.11 2006-10-23 12:23:29 sondberg Exp $ +# $Id: Bib1.pm,v 1.12 2006-10-25 10:49:51 mike Exp $ # See the "Main" test package for documentation @@ -23,7 +23,7 @@ sub start { foreach my $attr (@attrs) { $conn->irspy_search_pqf("\@attr 1=$attr mineral", - {'attr' => $attr}, + {'attr' => $attr}, {}, ZOOM::Event::RECV_SEARCH, \&found, exception => \&error); } diff --git a/lib/ZOOM/IRSpy/Test/Search/DBDate.pm b/lib/ZOOM/IRSpy/Test/Search/DBDate.pm index 9005e47..4ecdc91 100644 --- a/lib/ZOOM/IRSpy/Test/Search/DBDate.pm +++ b/lib/ZOOM/IRSpy/Test/Search/DBDate.pm @@ -1,4 +1,4 @@ -# $Id: DBDate.pm,v 1.1 2006-10-17 16:20:00 mike Exp $ +# $Id: DBDate.pm,v 1.2 2006-10-25 10:49:51 mike Exp $ # This plugin tests searching on BIB-1 access-point 1011 (Date/time # added to db), the significance of which is that this search @@ -22,7 +22,7 @@ sub start { my $class = shift(); my($conn) = @_; - $conn->irspy_search_pqf('@attr 1=1011 mineral', undef, + $conn->irspy_search_pqf('@attr 1=1011 mineral', undef, {}, ZOOM::Event::RECV_SEARCH, \&found, "exception", \&error); } diff --git a/lib/ZOOM/IRSpy/Test/Search/Dan1.pm b/lib/ZOOM/IRSpy/Test/Search/Dan1.pm index 77be15d..ddd12ef 100644 --- a/lib/ZOOM/IRSpy/Test/Search/Dan1.pm +++ b/lib/ZOOM/IRSpy/Test/Search/Dan1.pm @@ -1,4 +1,4 @@ -# $Id: Dan1.pm,v 1.2 2006-10-23 12:23:29 sondberg Exp $ +# $Id: Dan1.pm,v 1.3 2006-10-25 10:49:51 mike Exp $ # See the "Main" test package for documentation @@ -20,7 +20,7 @@ sub start { foreach my $attr (@attrs) { $conn->irspy_search_pqf("\@attr dan1 1=$attr mineral", - {'attr' => $attr}, + {'attr' => $attr}, {}, ZOOM::Event::RECV_SEARCH, \&found, exception => \&error); } diff --git a/lib/ZOOM/IRSpy/Test/Search/Title.pm b/lib/ZOOM/IRSpy/Test/Search/Title.pm index 44ef9f8..8ccb221 100644 --- a/lib/ZOOM/IRSpy/Test/Search/Title.pm +++ b/lib/ZOOM/IRSpy/Test/Search/Title.pm @@ -1,4 +1,4 @@ -# $Id: Title.pm,v 1.7 2006-10-12 16:54:13 mike Exp $ +# $Id: Title.pm,v 1.8 2006-10-25 10:49:51 mike Exp $ # See the "Main" test package for documentation @@ -16,7 +16,7 @@ sub start { my $class = shift(); my($conn) = @_; - $conn->irspy_search_pqf('@attr 1=4 mineral', undef, + $conn->irspy_search_pqf('@attr 1=4 mineral', undef, {}, ZOOM::Event::RECV_SEARCH, \&found, "exception", \&error); }