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

NAME

Kit::Types - Import common Moose type constraints

SYNOPSIS

    use Moose;
    use Kit::Types qw(ArrayRef Datetime Dir File HashRef Str);
    has aString => (is => 'rw', isa => Str);
    has aFile => (is => 'ro', isa => File, coerce => 1);

ABSTRACT

A one-stop Moose Type shop.

DESCRIPTION

Makes available for import all types from the following libraries:

MooseX::Types::Moose
MooseX::Types::Path::Class
Kit::Typedefs

COPYRIGHT

Copyright (C)2009 Vincent Veselosky All rights Reserved