Search results for "distribution:Type-Tiny Moose::Manual"
Type::Tiny::Manual::UsingWithMoose - how to use Type::Tiny with Moose
TOBYINK/Type-Tiny-2.004000
-
05 Apr 2023 09:28:11 UTC
Type::Tie - tie a variable to a type constraint
This module exports a single function: "ttie". "ttie" ties a variable to a type constraint, ensuring that whatever values stored in the variable will conform to the type constraint. If the type constraint has coercions, these will be used if necessar...
TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC
Type::Tiny - tiny, yet Moo(se)-compatible type constraint
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
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
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
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::Coercion - a set of coercions to a particular target type constraint
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
Types::Standard - bundled set of built-in types for Type::Tiny
This documents the details of the Types::Standard type library. Type::Tiny::Manual is a better starting place if you're new. Type::Tiny bundles a few types which seem to be useful. Moose-like The following types are similar to those described in Moos...
TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC
Type::Tiny::Role - type constraints based on the "DOES" method
Type constraints of the general form "{ $_->DOES("Some::Role") }". This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Attributes "role" The role for the constraint. Note that this package doesn...
TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC
Type::Tiny::Duck - type constraints based on the "can" method
Type constraints of the general form "{ $_->can("method") }". The name refers to the saying, "If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck". Duck typing can be a more flexible way of testing objects t...
TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC
Type::Tiny::Enum - string enum type constraints
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::Class - type constraints based on the "isa" method
Type constraints of the general form "{ $_->isa("Some::Class") }". This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Constructor "new" When the constructor is called on an *instance* of Type::...
TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC
Type::Tiny::Manual - an overview of Type::Tiny
TOBYINK/Type-Tiny-2.004000
-
05 Apr 2023 09:28:11 UTC
Type::Tiny::Manual::NonOO - Type::Tiny in non-object-oriented code
TOBYINK/Type-Tiny-2.004000
-
05 Apr 2023 09:28:11 UTC
Type::Tiny::Manual::Params - advanced information on Type::Params
TOBYINK/Type-Tiny-2.004000
-
05 Apr 2023 09:28:11 UTC
Type::Tiny::Manual::Policies - Type::Tiny policies
TOBYINK/Type-Tiny-2.004000
-
05 Apr 2023 09:28:11 UTC
Type::Tiny::Manual::Libraries - defining your own type libraries
TOBYINK/Type-Tiny-2.004000
-
05 Apr 2023 09:28:11 UTC
Type::Tiny::ConstrainedObject - shared behavour for Type::Tiny::Class, etc
Methods The following methods exist for Type::Tiny::Class, Type::Tiny::Role, Type::Tiny::Duck, and any type constraints that inherit from "Object" or "Overload" in Types::Standard. These methods will also work for Type::Tiny::Intersection if at least...
TOBYINK/Type-Tiny-2.004000 - 05 Apr 2023 09:28:11 UTC