From 3150ab3b918c91a56ca741dee054e1f44281c979 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 26 Feb 2007 14:40:01 +0000 Subject: [PATCH] Document $conn->check() --- lib/ZOOM.pod | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/ZOOM.pod b/lib/ZOOM.pod index e3c6416..5d63838 100644 --- a/lib/ZOOM.pod +++ b/lib/ZOOM.pod @@ -1,4 +1,4 @@ -# $Id: ZOOM.pod,v 1.41 2006-12-01 14:11:21 mike Exp $ +# $Id: ZOOM.pod,v 1.42 2007-02-26 14:40:01 mike Exp $ use strict; use warnings; @@ -305,6 +305,15 @@ returns all four at once. See the C for the interpretation of these elements. +=head4 check() + + $conn->check(); + +Checks whether an error is pending on the connection, and throw a +C object if so. Since errors are thrown as they +occur for synchronous connections, there is no need ever to call this +except in asynchronous applications. + =head4 option() / option_binary() print("server is '", $conn->option("serverImplementationName"), "'\n"); -- 1.7.10.4