-# $Id: Search.pm,v 1.3 2006-10-12 16:54:13 mike Exp $
+# $Id: Search.pm,v 1.7 2006-11-16 14:58:55 mike Exp $
package ZOOM::IRSpy::Task::Search;
sub run {
my $this = shift();
+ $this->set_options();
+
my $conn = $this->conn();
my $query = $this->{query};
$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
sub render {
my $this = shift();
- return ref($this) . "(" . $this->{query}. ")";
+ return ref($this) . "(" . $this->{query} . ")";
}
use overload '""' => \&render;