NAME

Data::TreeValidator::Result::Branch - Contains the result of processing a branch

DESCRIPTION

This contains the result of processing a Data::TreeValidator::Branch.

METHODS

results

Returns a list of all result values.

result_names

Returns a list of all child names that were processed

result_count

Returns the amount of child results this node directly has

result($name)

Fetch a result with a given name

valid

This result will be valid if all children are valid

clean

Clean data will be returned as a hash reference of result name to it's clean data. If a result is not clean, it will not be included in the clean hash.

AUTHOR

Oliver Charles

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.