X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2FZOOM%2FIRSpy%2FTask%2FSearch.pm;h=ce5f889c882af495243662fa1b23b7abe8c94c1f;hb=12b408cdb57c9899a04ae7f0213f6cc04cd3c4eb;hp=e3db6321de41276caf77a57c3f7da1f7a172205f;hpb=ae94c0308147f8c8db1cd9aafc7ba6c24de2e42d;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Task/Search.pm b/lib/ZOOM/IRSpy/Task/Search.pm index e3db632..ce5f889 100644 --- a/lib/ZOOM/IRSpy/Task/Search.pm +++ b/lib/ZOOM/IRSpy/Task/Search.pm @@ -1,4 +1,4 @@ -# $Id: Search.pm,v 1.4 2006-10-25 10:54:43 mike Exp $ +# $Id: Search.pm,v 1.7 2006-11-16 14:58:55 mike Exp $ package ZOOM::IRSpy::Task::Search; @@ -43,6 +43,10 @@ sub run { $this->irspy()->log("irspy_task", $conn->option("host"), " searching for '$query'"); $this->{rs} = $conn->search_pqf($query); + warn "no ZOOM-C level events queued by $this" + if $conn->is_idle(); + + $this->set_options(); # I want to catch the situation where a search is attempted on a # not-yet opened connection (e.g. the Search::Title test is run @@ -56,7 +60,7 @@ sub run { sub render { my $this = shift(); - return ref($this) . "(" . $this->{query}. ")"; + return ref($this) . "(" . $this->{query} . ")"; } use overload '""' => \&render;