Prune devel/py-EnthoughtBase
[dports.git] / devel / p5-Return-Type / pkg-descr
1 Return::Type allows you to specify a return type for your subs. Type constraints
2 from any Type::Tiny, MooseX::Types or MouseX::Types type library are supported.
3
4 The simple syntax for specifying a type constraint is shown in the "SYNOPSIS"
5 [1]. If the attribute is passed a single type constraint as shown, this will be
6 applied to the return value if called in scalar context, and to each item in the
7 returned list if called in list context. (If the sub is called in void context,
8 type constraints are simply ignored.)
9
10 [1] http://search.cpan.org/dist/Return-Type/lib/Return/Type.pm#SYNOPSIS
11
12 WWW: http://search.cpan.org/dist/Return-Type/