Data::TreeValidator::Result - Role specifying the result of processing
This role is the basis for the result of processing a specification with some input.
Gets the input that was passed in to process
Returns an array of errors that occured during processing. May be empty.
This array is only for errors directly assossciated with this node.
Returns the amount of errors that occured when processing this node.
Should return the cleaned data. It is required to be implemented by consuming classes
Should return true or false depending on whether the input was valid input for this node. Required to be implemented by consuming classes.
Oliver Charles
This software is copyright (c) 2010 by Oliver Charles <oliver.g.charles@googlemail.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.
To install Data::TreeValidator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::TreeValidator
CPAN shell
perl -MCPAN -e shell install Data::TreeValidator
For more information on module installation, please visit the detailed CPAN module installation guide.