Data::Transpose::Validator::Group - Class for grouped field
Return the list of the objects set in the constructor. This is read only.
Return the name set in the constructor. This is read only. If you want a sensible default error string, you should set this to something that concatenated with "%s differ" makes sense.
E.g. "passwords" will produce such an error: "Passwords differ!";
Set to a true value if the check for equality is needed. Defaults to true, and so far it's the only use of this module.
Returns true if the group validates. If no check were done (because, e.g. you set equal => 0) this method returns true but sets a warning, which you can retrieve with -warnings.
warnings
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.