From owner-cvs-all@FreeBSD.ORG Sun Oct 10 05:40:39 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD4BC1065673; Sun, 10 Oct 2010 05:40:39 +0000 (UTC) (envelope-from kuriyama@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BD23D8FC14; Sun, 10 Oct 2010 05:40:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9A5edNV005199; Sun, 10 Oct 2010 05:40:39 GMT (envelope-from kuriyama@repoman.freebsd.org) Received: (from kuriyama@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9A5edis005198; Sun, 10 Oct 2010 05:40:39 GMT (envelope-from kuriyama) Message-Id: <201010100540.o9A5edis005198@repoman.freebsd.org> From: Jun Kuriyama Date: Sun, 10 Oct 2010 05:40:39 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/p5-POEx-Role-Streaming Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Oct 2010 05:40:39 -0000 kuriyama 2010-10-10 05:40:39 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-POEx-Role-Streaming Makefile distinfo pkg-descr pkg-plist Log: POEx::Role::Streaming provides a common idiom for streaming data from one filehandle to another. It accomplishes this by making good use of sysread and POE::Wheel::ReadWrite. This Role errs on the side of doing as many blocking reads of the "input_handle" as possible up front (until the high water mark is hit on the Wheel). If this default isn't suitable for the consumer, simply override "get_data_from_input_handle". After Streamer has exhausted the source, and flushed the last of the output, it will clean up after itself by closing the wheel, the handles, and sending all of them out of scope. If an exception happens, it will clean up after itself, and let the DIE signal propagate. WWW: http://search.cpan.org/dist/POEx-Role-Streaming/ Revision Changes Path 1.4077 +1 -0 ports/devel/Makefile 1.1 +31 -0 ports/devel/p5-POEx-Role-Streaming/Makefile (new) 1.1 +3 -0 ports/devel/p5-POEx-Role-Streaming/distinfo (new) 1.1 +13 -0 ports/devel/p5-POEx-Role-Streaming/pkg-descr (new) 1.1 +4 -0 ports/devel/p5-POEx-Role-Streaming/pkg-plist (new)