Name
Unexpected::Types - Defines type constraints
Synopsis
use Unexpected::Types qw(ArrayRef SimplStr);
Description
Defines type constraints used throughout this distribution. The types defined are replacements for those found in MooseX::Types::Common and MooseX::Types::LoadableClass but based on Type::Tiny rather than MooseX::Types
Extends Types::Standard so you can import any TCs that module exports
Configuration and Environment
Defines the following type constraints;
LoadableClass
-
A classname that is loaded and compiled using require_module
NonEmptySimpleStr
-
A string of at least one character and no more than 255 characters that contains no newlines
NonZeroPositiveInt
-
A non zero positive integer
PositiveInt
-
A positive integer including zero
SimpleStr
-
A string of than 255 characters that contains no newlines
Tracer
-
An object reference that implements the
frames
method
Defines no attributes
Subroutines/Methods
None
Diagnostics
None
Dependencies
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
Acknowledgements
Larry Wall - For the Perl programming language
Author
Peter Flanigan, <pjfl@cpan.org>
License and Copyright
Copyright (c) 2014 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