NAME
MooseX::Extended::Types - Keep our type tools orgnanized
VERSION
version 0.02
SYNOPSIS
package MooseX::Extended::Types;
use MooseX::Extended::Types qw(
ArrayRef
Dict
Enum
HashRef
InstanceOf
Str
compile
);
DESCRIPTION
A basic set of useful types for MooseX::Extended
. Using these is preferred to using using strings due to runtime versus compile-time failures. For example:
# fails at runtime, if ->name is set
param name => ( isa => 'StR' );
# fails at compile-time
param name => ( isa => StR );
TYPE LIBRARIES
We automatically include the types from the following:
EXTRAS
The following extra functions are exported on demand or if use the :all
export tag.
compile
See Type::Params
compile_named
See Type::Params
slurpy
See Types::Standard
AUTHOR
Curtis "Ovid" Poe <curtis.poe@gmail.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2022 by Curtis "Ovid" Poe.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)