12 Mar 2014 14:17:01 UTC
- Distribution: Net-Z3950-ZOOM
- Module version: 1.30
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (12)
- Testers (327 / 151 / 2)
- KwaliteeBus factor: 1
- % Coverage
- License: unknown
- Activity24 month
- Download (65.47KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionMIRK Mike Taylorand 1 contributors
- Mike Taylor <mike@>
Net::Z3950::ZOOM - Perl extension for invoking the ZOOM-C API.
use Net::Z3950::ZOOM; $conn = Net::Z3950::ZOOM::connection_new($host, $port); $errcode = Net::Z3950::ZOOM::connection_error($conn, $errmsg, $addinfo); Net::Z3950::ZOOM::connection_option_set($conn, databaseName => "foo"); # etc.
This module provides a simple thin-layer through to the ZOOM-C functions in the YAZ toolkit for Z39.50 and SRW/U communication. You should not be using this very nasty, low-level API. You should be using the
ZOOMmodule instead, which implements a nice, Perlish API on top of this module, conformant to the ZOOM Abstract API described at http://zoom.z3950.org/api/
To enforce the don't-use-this-module prohibition, I am not even going to document it. If you really, really, really want to use it, then it pretty much follows the API described in the ZOOM-C documentation at http://www.indexdata.dk/yaz/doc/zoom.tkl
The only additional (non-ZOOM-C) function provided by this module is
event_str(), which takes as its argument an event code such as
Net::Z3950::ZOOM::EVENT_SEND_APDU, and returns a corresponding short string.
ZOOMmodule, included in the same distribution as this one.
Mike Taylor, <email@example.com>
Copyright (C) 2005-2014 by Index Data.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install Net::Z3950::ZOOM, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Net::Z3950::ZOOM
For more information on module installation, please visit the detailed CPAN module installation guide.