MooseX-TypeLibrary with tests and first pod (phaylon)
[gitmo/MooseX-Types.git] / lib / MooseX / TypeLibrary / Moose.pm
CommitLineData
8af0a70d 1package MooseX::TypeLibrary::Moose;
2use warnings;
3use strict;
4
5use MooseX::TypeLibrary;
6use Moose::Util::TypeConstraints ();
7use namespace::clean;
8
9# all available builtin types as short and long name
10my %BuiltIn_Storage
11 = map { ($_) x 2 }
12 Moose::Util::TypeConstraints->list_all_type_constraints;
13
14# use prepopulated builtin hash as type storage
15sub type_storage { \%BuiltIn_Storage }
16
171;