-# $Id: ZOOM.pm,v 1.32 2006-04-11 16:27:01 mike Exp $
+# $Id: ZOOM.pm,v 1.33 2006-04-12 12:00:48 mike Exp $
use strict;
use warnings;
return Net::Z3950::ZOOM::diag_str($code);
}
-### Undocumented
sub event_str {
return Net::Z3950::ZOOM::event_str(@_);
}
-### Undocumented
sub event {
my($connsref) = @_;
if @options;
my $_conn = Net::Z3950::ZOOM::connection_create($_opts);
- Net::Z3950::ZOOM::connection_connect($_conn, $host, $port);
+ Net::Z3950::ZOOM::connection_connect($_conn, $host, $port || 0);
my $conn = bless {
host => $host,
port => $port,
return _new ZOOM::Package($this, $options, $_p);
}
-### Undocumented
sub last_event {
my $this = shift();