Name

Data::Validation::Utils - Utility methods

Version

Describes version v0.12.$Rev: 0 $ of Data::Validation::Utils

Synopsis

use Moo;

with 'Data::Validation::Utils';

Description

Defines some methods and attributes common to Data::Validation::Constraints and Data::Validation::Filters

Configuration and Environment

Defines the following attributes:

exception

Class capable of throwing an exception

method

Name of the constraint to apply

pattern

Used by "isMathchingRegex" as the pattern to match the supplied value against. This is set by some of the builtin validation methods that then call "isMathchingRegex" to perform the actual validation

Subroutines/Methods

_load_class

Load the external plugin subclass at run time and rebless self to that class

_ensure_class_loaded

Throws if class cannot be loaded

Diagnostics

None

Dependencies

Class::Load
Moo::Role
Try::Tiny
Unexpected::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, <pjfl@cpan.org>

License and Copyright

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