The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

File::DataClass::Constraints - Role defining package constraints

Version

0.13.$Revision: 416 $

Synopsis

   use Moose;
   use File::DataClass::Constraints q(Path Directory File);

Description

Defines the constraints used in this distribution

Configuration and Environment

Defines these subtypes

Cache

Is a File::DataClass::Cache

Exception

Can throw

Lock

Is a Class::Null or can set and reset

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

Subroutines/Methods

None

Diagnostics

None

Dependencies

File::DataClass::IO
MooseX::Types

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, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2012 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