The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Type::Coercion"

Type::Coercion - a set of coercions to a particular target type constraint River stage four • 906 direct dependents • 2558 total dependents

Constructors "new(%attributes)" Moose-style constructor function. "add($c1, $c2)" Create a Type::Coercion from two existing Type::Coercion objects. Attributes Attributes are named values that may be passed to the constructor. For each attribute, ther...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Coercion::Union - a set of coercions to a union type constraint River stage four • 906 direct dependents • 2558 total dependents

This package inherits from Type::Coercion; see that for most documentation. The major differences are that "add_type_coercions" always throws an exception, and the "type_coercion_map" is automatically populated from the child constraints of the union...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Coercion::FromMoose - a set of coercions borrowed from Moose River stage four • 906 direct dependents • 2558 total dependents

This package inherits from Type::Coercion; see that for most documentation. The major differences are that "add_type_coercions" always throws an exception, and the "type_coercion_map" is automatically populated from Moose. This is mostly for internal...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Return::Type - specify a return type for a function (optionally with coercion) River stage two • 5 direct dependents • 52 total dependents

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 att...

TOBYINK/Return-Type-0.007 - 17 Oct 2020 11:10:55 UTC

Type::Tiny - tiny, yet Moo(se)-compatible type constraint River stage four • 906 direct dependents • 2558 total dependents

This documents the internals of the Type::Tiny class. Type::Tiny::Manual is a better starting place if you're new. Type::Tiny is a small class for creating Moose-like type constraint objects which are compatible with Moo, Moose and Mouse. use Scalar:...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Utils - utility functions to make defining and using type constraints a little easier River stage four • 906 direct dependents • 2558 total dependents

This module provides utility functions to make defining and using type constraints a little easier. Type declaration functions Many of the following are similar to the similarly named functions described in Moose::Util::TypeConstraints. "declare $nam...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Params - sub signature validation using Type::Tiny type constraints and coercions River stage four • 906 direct dependents • 2558 total dependents

This documents the details of the Type::Params package. Type::Tiny::Manual is a better starting place if you're new. Type::Params uses Type::Tiny constraints to validate the parameters to a sub. It takes the slightly unorthodox approach of separating...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Library - tiny, yet Moo(se)-compatible type libraries River stage four • 906 direct dependents • 2558 total dependents

Type::Library is a tiny class for creating MooseX::Types-like type libraries which are compatible with Moo, Moose and Mouse. If you're reading this because you want to create a type library, then you're probably better off reading Type::Tiny::Manual:...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Tiny::Enum - string enum type constraints River stage four • 906 direct dependents • 2558 total dependents

Enum type constraints. This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Constructors The "new" constructor from Type::Tiny still works, of course. But there is also: "new_union( type_constrai...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Tiny::Union - union type constraints River stage four • 906 direct dependents • 2558 total dependents

Union type constraints. This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Constructor The "new" constructor from Type::Tiny still works, of course. But there is also: "new_by_overload(%attribu...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC

Type::Tiny::Bitfield - bitfield/bitflag type constraints River stage four • 906 direct dependents • 2558 total dependents

Bitfield type constraints. This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Attributes "values" Hashref of bits allowed in the bitfield. Keys must be UPPER_SNAKE_CASE strings. Values must be ...

TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC
11 results (0.034 seconds)