From: mike Date: Mon, 26 Feb 2007 14:40:01 +0000 (+0000) Subject: Document $conn->check() X-Git-Tag: cpan_1_22~68 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=3150ab3b918c91a56ca741dee054e1f44281c979;p=ZOOM-Perl-moved-to-github.git Document $conn->check() --- 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");