Peter Flanigan > Data-Validation > Data::Validation::Utils

Download:
data-validation/Data-Validation-0.4.114.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.4.107   Source  

Name ^

Data::Validation::Utils - Code and attribute reuse

Version ^

0.4.$Revision: 107 $

Synopsis ^

   use Moose;

   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::MOP
Moose::Role
Moose::Util::TypeConstraints

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) 2008 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