p5-Return-Type-0.005_3.txz


Advertisement

Description

p5-Return-Type - Specify a return type for a function (optionally with coercion)

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename p5-Return-Type-0.005_3.txz
Package name p5-Return-Type
Package version 0.005
Package release 3
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Return-Type
License GPLv1+, ART10
Maintainer sunpoet@FreeBSD.org
Download size 12.54 KB
Installed size 45.92 KB
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".
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.)
WWW: https://metacpan.org/release/Return-Type

Alternatives

Package Version Architecture Repository
p5-Return-Type-0.005_3.txz 0.005 i386 FreeBSD Ports Quarterly
p5-Return-Type-0.005_3.txz 0.005 amd64 FreeBSD Ports Latest
p5-Return-Type-0.005_3.txz 0.005 i386 FreeBSD Ports Latest
p5-Return-Type - - -

Requires

Name Value
p5-Type-Tiny = 1.004004
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Return-Type-0.005_3.txz
Source Package devel/p5-Return-Type

Install Howto

Install p5-Return-Type txz package:

# pkg install p5-Return-Type

See Also

Package Description
p5-Return-Value-1.666005.txz Return::Value - Polymorphic Return Values
p5-Rex-1.4.1.txz Perl framework for automation and systems administration
p5-Rinci-1.1.93.txz Language-neutral metadata for your code entities
p5-Role-Basic-0.13_2.txz Just roles. Nothing else
p5-Role-HasMessage-0.006.txz Thing with a message method
p5-Role-Identifiable-0.007.txz Thing with a list of tags
p5-Role-REST-Client-0.18.txz Perl extension for Rest Client Role
p5-Role-Tiny-2.000008.txz Roles, like a nouvelle cusine portion size slice of Moose
p5-Roman-1.24.txz Perl module to convert between Arabic and Roman numerals
p5-Rose-DB-0.779,1.txz DBI wrapper and abstraction layer
p5-Rose-DB-Object-0.8140,1.txz Extensible, high performance RDBMS-OO mapper
p5-Rose-DBx-Object-MoreHelpers-0.100_1.txz Perl 5 module to deploy a DBIx::Class schema
p5-Rose-DBx-Object-Renderer-0.77_1.txz Web UI Rendering for Rose::DB::Object
p5-Rose-DateTime-0.540_1,1.txz DateTime helper functions and objects
p5-Rose-HTML-Objects-0.623.txz Object-oriented interfaces for HTML
Advertisement
Advertisement