aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-06-05 02:05:57 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-06-05 02:05:57 +0800
commita298fb52432577194c1c14b6c4b85647f543d0d5 (patch)
tree7d0fce3a3a1eb66e17eeda2a17f58047749b64af /devel
parent6380d2ad8ecde187a3f7c7f9d3682baf3d4709ee (diff)
downloadfreebsd-ports-gnome-a298fb52432577194c1c14b6c4b85647f543d0d5.tar.gz
freebsd-ports-gnome-a298fb52432577194c1c14b6c4b85647f543d0d5.tar.zst
freebsd-ports-gnome-a298fb52432577194c1c14b6c4b85647f543d0d5.zip
Clean up pkg-descr
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Return-Type/pkg-descr6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/p5-Return-Type/pkg-descr b/devel/p5-Return-Type/pkg-descr
index ce6c21ba8109..012dfc0931be 100644
--- a/devel/p5-Return-Type/pkg-descr
+++ b/devel/p5-Return-Type/pkg-descr
@@ -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