The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "distribution:Type-Tiny Moose::Manual"

Type::Tiny::Manual::UsingWithMoose - how to use Type::Tiny with Moose River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tie - tie a variable to a type constraint River stage four • 836 direct dependents • 2563 total dependents

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 River stage four • 836 direct dependents • 2563 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 • 836 direct dependents • 2563 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 • 836 direct dependents • 2563 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 • 836 direct dependents • 2563 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::Coercion - a set of coercions to a particular target type constraint River stage four • 836 direct dependents • 2563 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

Types::Standard - bundled set of built-in types for Type::Tiny River stage four • 836 direct dependents • 2563 total dependents

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 River stage four • 836 direct dependents • 2563 total dependents

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 River stage four • 836 direct dependents • 2563 total dependents

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 River stage four • 836 direct dependents • 2563 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::Class - type constraints based on the "isa" method River stage four • 836 direct dependents • 2563 total dependents

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 River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tiny::Manual::NonOO - Type::Tiny in non-object-oriented code River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tiny::Manual::Params - advanced information on Type::Params River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tiny::Manual::Policies - Type::Tiny policies River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tiny::Manual::Libraries - defining your own type libraries River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tiny::ConstrainedObject - shared behavour for Type::Tiny::Class, etc River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tiny::Manual::Coercions - advanced information on coercions River stage four • 836 direct dependents • 2563 total dependents

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

Type::Tiny::Manual::UsingWithMoo - basic use of Type::Tiny with Moo River stage four • 836 direct dependents • 2563 total dependents

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