NAME

MooseX::Extended::Types - Keep our type tools organized

VERSION

version 0.05

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.

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)