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

Name

Class::Usul::Types - Defines type constraints

Synopsis

   use Class::Usul::Types q(:all);

Description

Defines the following type constraints

ConfigType

Subtype of Object can be coerced from a hash ref

EncodingType

Subtype of Str which has to be one of the list of encodings in the ENCODINGS constant

LogType

Subtype of Object which has to implement all of the methods in the LOG_LEVELS constant

Subroutines/Methods

None

Configuration and Environment

None

Diagnostics

None

Dependencies

Class::Usul::Constants
Class::Usul::Functions
Type::Tiny

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <pjfl@cpan.org>

Acknowledgements

Larry Wall - For the Perl programming language

License and Copyright

Copyright (c) 2015 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE