1 # $Id: ZOOM.pod,v 1.1 2005-11-09 11:32:12 mike Exp $
8 ZOOM - Perl extension implementing the ZOOM API for Information Retrieval
14 $conn = new ZOOM::Connection($host, $port)
15 $conn->option(preferredRecordSyntax => "usmarc");
16 $rs = $conn->search_pqf($query);
18 print $rs->record(0)->render();
21 print "Error ", $@->code(), ": ", $@->message(), "\n";
26 This module provides a nice, Perlish implementation of the ZOOM
27 Abstract API described at http://zoom.z3950.org/api/
29 the ZOOM module is implemented as a set of thin classes on top of the
30 non-OO functions provided by the Net::Z3950::ZOOM module, which in
31 turn is a thin layer on top of the ZOOM-C code supplied as part of
32 Index Data's YAZ Toolkit. Because ZOOM-C is also the underlying code
33 that implements ZOOM bindings in C++, Visual Basic, Scheme, Ruby, .NET
34 (including C#) and other languages, this Perl module works compatibly
35 with those other implementations. (Of course, the point of a public
36 API such as ZOOM is that all implementations should be compatible
37 anyway; but knowing that the same code is running is reassuring.)
39 I<###> There is rather more to say here :-)
43 The C<Net::Z3950::ZOOM> module, included in the same distribution as this one.
45 The C<Net::Z3950> module, which this one supersedes.
49 Mike Taylor, E<lt>mike@indexdata.comE<gt>
51 =head1 COPYRIGHT AND LICENCE
53 Copyright (C) 2005 by Index Data.
55 This library is free software; you can redistribute it and/or modify
56 it under the same terms as Perl itself, either Perl version 5.8.4 or,
57 at your option, any later version of Perl 5 you may have available.