#!/usr/bin/perl -w use Net::Z3950; $conn = new Net::Z3950::Connection('localhost', 9999); $rs = $conn->search('mineral'); print "found ", $rs->size(), " records:\n"; my $rec = $rs->record(1); print $rec->render();
Fetches the first record in the result set.