Net::Z3950::ZOOM(3pm)
β¨ NAME β¨
Net::Z3950::ZOOM β a Perl extension for invoking the ZOOM-C API π
okay so this is the module, and the vibe is "yes it exists, no you don't want it." let's get into it bestie π«Ά
πΈ SYNOPSIS πΈ
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.
π¦ DESCRIPTION π¦
So what this module does: it's a simple thin-layer straight through to the ZOOM-C functions in the YAZ toolkit, for Z39.50 and SRW/U communication. and likeβ¦ that's it. that's the layer. it's thin. it's real thin. π
And now the part where I'm gonna be so fr with you: you should not be using this very nasty, low-level API. nope. absolutely not. no cap. π
You should be using the ZOOM module 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/. likeβ¦ that one. that's the one you want. she's the moment. π
To enforce the don't-use-this-module prohibition, I am not even going to document it. π (the author said that, not me, but honestly? respect.)
If you really, really, really want to use this anyway β bestie, why β then it pretty much follows the API described in the ZOOM-C documentation at http://www.indexdata.com/yaz/doc/zoom.html. iykyk. β¨
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. cute, right? that's the little bonus. π
π SEE ALSO π
- The
ZOOMmodule, included in the same distribution as this one. (go there. live there. thrive there. πΈ)
π AUTHOR π
Mike Taylor, <mike@indexdata.com> π«Ά
π COPYRIGHT AND LICENCE π
Copyright (C) 2005-2017 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. slay, licence-wise. β
and that's the whole page, bestie β written up for perl v5.42.3, dated 2026-08-19, from the User Contributed Perl Documentation for Net::Z3950::ZOOM(3pm). now go use the ZOOM module instead, mwah ππ§π
π¦ where this page comes from
- ubuntu stonking: libnet-z3950-zoom-perl 1.32-4build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms