X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=lib%2FNet%2FZ3950%2FZOOM.pm;h=175bbca690768c9a954289e1d89220766b0fb3cb;hb=53f80bb9976ef9e6bb4d632e61181ed19936b7d2;hp=6ff9b1ab0831eb5fcd0755bbe61edb769cfa777c;hpb=66e3742da2b4a7354a29a5a877d195f399bd1ee5;p=ZOOM-Perl-moved-to-github.git diff --git a/lib/Net/Z3950/ZOOM.pm b/lib/Net/Z3950/ZOOM.pm index 6ff9b1a..175bbca 100644 --- a/lib/Net/Z3950/ZOOM.pm +++ b/lib/Net/Z3950/ZOOM.pm @@ -1,4 +1,4 @@ -# $Id: ZOOM.pm,v 1.14 2006-04-07 07:48:42 mike Exp $ +# $Id: ZOOM.pm,v 1.15 2006-04-07 11:03:35 mike Exp $ package Net::Z3950::ZOOM; @@ -81,13 +81,13 @@ pretty much follows the API described in the ZOOM-C documentation at http://www.indexdata.dk/yaz/doc/zoom.tkl The only additional (non-ZOOM-C) function provided by this module is -C, which takes as its argument an event code such as +C, which takes as its argument an event code such as C, and returns a corresponding short string. =cut -sub eventstr { +sub event_str { my($code) = @_; if ($code == EVENT_NONE) {