From owner-svn-ports-all@freebsd.org Sat Dec 5 20:37:13 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D1DEA41755; Sat, 5 Dec 2015 20:37:13 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D1FC1941; Sat, 5 Dec 2015 20:37:13 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB5KbCO9096742; Sat, 5 Dec 2015 20:37:12 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB5KbCM9096737; Sat, 5 Dec 2015 20:37:12 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201512052037.tB5KbCM9096737@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 5 Dec 2015 20:37:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403076 - in head/devel: . p5-PerlIO-via-Timeout X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 20:37:13 -0000 Author: pi Date: Sat Dec 5 20:37:11 2015 New Revision: 403076 URL: https://svnweb.freebsd.org/changeset/ports/403076 Log: New port: devel/p5-PerlIO-via-Timeout This package implements a PerlIO layer, that adds read / write timeout. This can be useful to avoid blocking while accessing a handle (file, socket, ...), and fail after some time. The timeout is implemented by using on the handle before +reading/writing. + +WARNING the handle won't timeout if you use sysread or syswrite on +it, because these functions works at a lower level. However if +you're trying to implement a timeout for a socket, see IO::Socket::Timeout +that implements exactly that. + +WWW: http://search.cpan.org/dist/PerlIO-via-Timeout Added: head/devel/p5-PerlIO-via-Timeout/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-PerlIO-via-Timeout/pkg-plist Sat Dec 5 20:37:11 2015 (r403076) @@ -0,0 +1,4 @@ +%%SITE_PERL%%/PerlIO/via/README.pod +%%SITE_PERL%%/PerlIO/via/Timeout.pm +%%PERL5_MAN3%%/PerlIO::via::README.3.gz +%%PERL5_MAN3%%/PerlIO::via::Timeout.3.gz