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

Search results for "module:Type::Tiny"

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::Tiny::Eq - type constraint for single string equality River stage zero No dependents

This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Attributes "value" Allowable value string. Non-string values (e.g. objects with overloading) will be stringified in the constructor....

KFLY/Types-Equal-0.02 - 14 Aug 2023 03:28:17 UTC

Type::Tiny::XS - provides an XS boost for some of Type::Tiny's built-in type constraints River stage one • 4 direct dependents • 5 total dependents

This module is optionally used by Type::Tiny 0.045_03 and above to provide faster, C-based implementations of some type constraints. (This package has only core dependencies, and does not depend on Type::Tiny, so other data validation frameworks migh...

TOBYINK/Type-Tiny-XS-0.025 - 19 Oct 2022 17:25:57 UTC

Type::Tiny::Equ - type constraint for single string equality with undefined River stage zero No dependents

This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Attributes "value" Allowable value string or undefined value. Non-string values (e.g. objects with overloading) will be stringified in the con...

KFLY/Types-Equal-0.02 - 14 Aug 2023 03:28:17 UTC

Type::Tiny::Duck - type constraints based on the "can" method River stage four • 906 direct dependents • 2558 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 • 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::Role - type constraints based on the "DOES" method River stage four • 906 direct dependents • 2558 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

Hessian::Tiny::Type - Hessian Types & utility routines River stage zero No dependents

DUL/Hessian-Tiny-0.12 - 09 Apr 2010 15:00:34 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::NumEq - type constraint for single number equality River stage zero No dependents

This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Attributes "value" Allowable value number. Non-number values (e.g. objects with overloading) will be stringified in the constructor....

KFLY/Types-Equal-0.02 - 14 Aug 2023 03:28:17 UTC

Type::Tiny::Class - type constraints based on the "isa" method River stage four • 906 direct dependents • 2558 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::NumEqu - type constraint for single number equality with undefined River stage zero No dependents

This package inherits from Type::Tiny; see that for most documentation. Major differences are listed below: Attributes "value" Allowable value number or undefined value. Non-number values (e.g. objects with overloading) will be stringified in the con...

KFLY/Types-Equal-0.02 - 14 Aug 2023 03:28:17 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

Type::Tiny::XS::Util - support functions for Type::Tiny::XS River stage one • 4 direct dependents • 5 total dependents

This module provides no supported functions....

TOBYINK/Type-Tiny-XS-0.025 - 19 Oct 2022 17:25:57 UTC

Type::Tiny::Signatures - Type::Tiny Method/Function Signatures River stage zero No dependents

This module uses Function::Parameters to extend Perl with keywords that let you define methods and functions with parameter lists which can be validated using Type::Tiny type constraints. The type constraints can be provided by the Type::Tiny standar...

AWNCORP/Type-Tiny-Signatures-0.08 - 28 Dec 2018 06:04:50 UTC

Type::Tiny::Intersection - intersection type constraints River stage four • 906 direct dependents • 2558 total dependents

Intersection type constraints. Intersection type constraints are not often very useful. Consider the intersection of HashRef and ArrayRef. A value will only pass if it is both a hashref and an arrayref. Given that neither of those type constraints ac...

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 • 906 direct dependents • 2558 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::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::TinyX::Facets - Easily create a facet parameterized Type::Tiny type River stage one • 1 direct dependent • 7 total dependents

Type::TinyX::Facets make it easy to create parameterized types with facets. "Type::Tiny" allows definition of types which can accept parameters: use Types::Standard -types; my $t1 = Array[Int]; my $t2 = Tuple[Int, HashRef]; This defines $t1 as an arr...

DJERIUS/Type-TinyX-Facets-1.3 - 26 Dec 2022 19:31:27 UTC
49 results (0.087 seconds)