04 Feb 2011 12:09:18 UTC
- Distribution: Data-TreeValidator
- Module version: 0.03
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (286 / 2 / 0)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (20.09KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE userCYCLES Oliver Charlesand 1 contributors
- Oliver Charles
Data::TreeValidator::RepeatingBranch - A branch that can have its input repeated multiple times
A repeatable branch is one that has a specification, and can consume input multiple times. The branch can have any valid specification (including repeatable elements).
This class has all the functionality of Data::TreeValidation::Branch.
Takes an array reference as input, and attempts to validate each element against the branch specification.
Returns a Data::TreeValidator::Result::Repeating result object, which can be inspected to determine if the processing was valid, and to obtain the cleaned data (which will be wrapped as an array reference).
This software is copyright (c) 2011 by Oliver Charles <email@example.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Data::TreeValidator, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Data::TreeValidator
For more information on module installation, please visit the detailed CPAN module installation guide.