Data::Transpose::Iterator::Errors - Iterator for validation errors.
The errors iterator provides errors_hash method to retrieve a structure suitable to show error message beside form fields.
errors_hash
Appends record to iterator.
Returns records of the iterator as hash. The value from "field" key is used as hash key and the value from "errors" key is used as hash value.
Stefan Hornburg (Racke), <racke@linuxia.de>
Copyright 2014 Stefan Hornburg (Racke) <racke@linuxia.de>.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Data::Transpose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Transpose
CPAN shell
perl -MCPAN -e shell install Data::Transpose
For more information on module installation, please visit the detailed CPAN module installation guide.