1 # $Id: Search.pm,v 1.1 2006-10-06 11:33:08 mike Exp $
3 package ZOOM::IRSpy::Task::Search;
10 our @ISA = qw(ZOOM::IRSpy::Task);
14 ZOOM::IRSpy::Task::Search - a searching task for IRSpy
30 my $this = $class->SUPER::new(@_);
31 $this->{query} = $query;
39 my $conn = $this->conn();
40 my $query = $this->{query};
41 $this->irspy()->log("irspy_test", $conn->option("host"),
42 " searching for '$query'");
43 $this->{rs} = $conn->search_pqf($query);
49 return ref($this) . " " . $this->{query};
52 use overload '""' => \&render;
61 Mike Taylor, E<lt>mike@indexdata.comE<gt>
63 =head1 COPYRIGHT AND LICENSE
65 Copyright (C) 2006 by Index Data ApS.
67 This library is free software; you can redistribute it and/or modify
68 it under the same terms as Perl itself, either Perl version 5.8.7 or,
69 at your option, any later version of Perl 5 you may have available.