Net::Z3950 Perl Implementation

9th March 2006

Mike Taylor's Net::Z3950 module predated the ZOOM Abstract API, and was in large part the inspiration for it. Accordingly, its API does not fully conform to the Abstract API, and it is now DEPRECATED having been superseded by Index Data's ZOOM module for Perl. New applications should use the ZOOM module in preference to the Net::Z3950 module. This page is maintained for the convenience of old applications, and for historical reasons.

The ``Hello World'' program looks like this using Net::Z3950:

use Net::Z3950;
$conn = new Net::Z3950::Connection('', 7090,
				   databaseName => 'Voyager');
$conn->option('preferredRecordSyntax', Net::Z3950::RecordSyntax::USMARC);
$rs = $conn->search('@attr 1=7 0253333490');
$rec = $rs->record(1);

The module is built on top of Index Data's low-level YAZ Toolkit.

It is available for free download via CPAN, the Perl software archive, specifically at

Feedback to <> is welcome!