File::DataClass::Types - A type constraint library
use Moo; use File::DataClass::Types qw( Path Directory File );
Defines the type constraints used in this distribution
Defines these subtypes
Cache
Is a File::DataClass::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 and reset
set
reset
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
Is a File::DataClass::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
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Peter Flanigan, <pjfl@cpan.org>
<pjfl@cpan.org>
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
To install File::DataClass, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::DataClass
CPAN shell
perl -MCPAN -e shell install File::DataClass
For more information on module installation, please visit the detailed CPAN module installation guide.