Net::Z3950::UDDI::ResultSet - back-end independent result-set for z2uddi
$rs = new Net::Z3950::UDDI::ResultSet::uddi($db, $uddi_rs); # for example $count = $rs->count(); $record = $rs->record(0);
A Net::Z3950::UDDI::ResultSet object represents a result-set, the result of search a backend database of some kind or another, but hides the details of whether that database is a SOAP service or a UDDI repostory (or something else again) by presenting a simple, generic API.
Net::Z3950::UDDI::ResultSet
There is no constructor for ResultSet, which is an abstract base class. Each subclass has its own constructor, which will be called on the application's behalf by the search() method of the subclass's corresponding Net::Z3950::UDDI::Database subclass.
ResultSet
search()
Net::Z3950::UDDI::Database
$n = $rs->count();
Returns the number of records in the result-set, i.e. the number of records found by the search that created the result-set.
foreach $i (0 .. $n-1) { $rec = $rs->record($i); }
Returns a single record from the result-set, indexed from zero.
### to be written
Net::Z3950::UDDI::Database is the module that immediately uses this.
As for Net::Z3950::UDDI.
Net::Z3950::UDDI
To install Net::Z3950::UDDI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Z3950::UDDI
CPAN shell
perl -MCPAN -e shell install Net::Z3950::UDDI
For more information on module installation, please visit the detailed CPAN module installation guide.