Brick::Result - the result of applying a profile


NAME

Brick::Result - the result of applying a profile


SYNOPSIS

        use Brick;
        
        my $result = $brick->apply( $Profile, $Input );
        $result->explain;
        
        =head1 DESCRIPTION
        

This class provides methods to turn the data structure returned by apply() into a useable form for particular situations.

explain

Create a string the shows the result in an outline form.

flatten

Collapse the result structure to an array of flat hashes.

flatten_by_field

Similar to flatten, but keyed by the field that failed the constraint.

flatten_by

Similar to flatten, but keyed by the hash key named in the argument list.


TO DO

TBA


SEE ALSO


SOURCE AVAILABILITY

This source is part of a SourceForge project which always has the latest sources in SVN, as well as all of the previous releases.

        svn co https://brian-d-foy.svn.sourceforge.net/svnroot/brian-d-foy brian-d-foy

If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.


AUTHOR

brian d foy, <bdfoy@cpan.org>


COPYRIGHT

Copyright (c) 2007, brian d foy, All Rights Reserved.

You may redistribute this under the same terms as Perl itself.