Name
File::DataClass::Types - A type constraint library
Synopsis
use Moo;
use File::DataClass::Types qw( Path Directory File );
Description
Defines the type constraints used in this distribution
Configuration and Environment
Defines these subtypes
Cache
DummyClass
-
A string value 'none'
HashRefOfBools
-
Coerces a hash ref of boolean true values from the keys in an array ref
Lock
-
Is a Class::Null or can
set
andreset
OctalNum
-
Coerces a string to a number which is stored in octal
Path
-
Is a File::DataClass::IO. Can be coerced from either a string or an array ref
Result
Directory
-
Subtype of
Path
which is a directory. Can be coerced from either a string or an array ref File
-
Subtype of
Path
which is a file. Can be coerced from either a string or an array ref
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
Author
Peter Flanigan, <pjfl@cpan.org>
License and Copyright
Copyright (c) 2017 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