From owner-svn-ports-all@freebsd.org Mon Jun 4 18:05:59 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 966BFFDB6A1; Mon, 4 Jun 2018 18:05:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCECD78167; Mon, 4 Jun 2018 18:05:58 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CFB8B10DE5; Mon, 4 Jun 2018 18:05:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w54I5vmp065445; Mon, 4 Jun 2018 18:05:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w54I5vWd065444; Mon, 4 Jun 2018 18:05:57 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201806041805.w54I5vWd065444@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 4 Jun 2018 18:05:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471626 - head/devel/p5-Return-Type X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/p5-Return-Type X-SVN-Commit-Revision: 471626 X-SVN-Commit-Repository: ports 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.26 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: Mon, 04 Jun 2018 18:05:59 -0000 Author: sunpoet Date: Mon Jun 4 18:05:57 2018 New Revision: 471626 URL: https://svnweb.freebsd.org/changeset/ports/471626 Log: Clean up pkg-descr Modified: head/devel/p5-Return-Type/pkg-descr Modified: head/devel/p5-Return-Type/pkg-descr ============================================================================== --- head/devel/p5-Return-Type/pkg-descr Mon Jun 4 18:05:51 2018 (r471625) +++ head/devel/p5-Return-Type/pkg-descr Mon Jun 4 18:05:57 2018 (r471626) @@ -1,12 +1,10 @@ Return::Type allows you to specify a return type for your subs. Type constraints from any Type::Tiny, MooseX::Types or MouseX::Types type library are supported. -The simple syntax for specifying a type constraint is shown in the "SYNOPSIS" -[1]. If the attribute is passed a single type constraint as shown, this will be +The simple syntax for specifying a type constraint is shown in the "SYNOPSIS". +If the attribute is passed a single type constraint as shown, this will be applied to the return value if called in scalar context, and to each item in the returned list if called in list context. (If the sub is called in void context, type constraints are simply ignored.) - -[1] http://search.cpan.org/dist/Return-Type/lib/Return/Type.pm#SYNOPSIS WWW: https://metacpan.org/release/Return-Type