svn commit: r471626 - head/devel/p5-Return-Type
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jun 4 18:05:59 UTC 2018
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
More information about the svn-ports-all
mailing list