MVC::Neaf::X::Form::Data - Form validation result object.
This module should be moved into a separate distribution or (ideally) merged with an existing module with similar functionality.
Possible candidates include Validator::LIVR, Data::FormValidator, Data::CGIForm, and more.
See MVC::Neaf::X::Form. This class is not expected to be created and used directly.
Returns true if data passed validation, false otherwise.
Returns data that passed validation as hashref. This MAY be incomplete, check is_valid() first.
Get specific data item.
Set specific data item.
Returns errors that occurred during validation.
Get specific error item.
Set specific error item. This may be used to invalidate a value after additional checks, and will also reset is_valid.
Returns raw input values as hashref. Only keys subject to validation will be retained.
This may be useful for sending the data back for resubmission.
Get specific raw item.
Set specific raw item.
To install MVC::Neaf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MVC::Neaf
CPAN shell
perl -MCPAN -e shell install MVC::Neaf
For more information on module installation, please visit the detailed CPAN module installation guide.