Hyper::Validator::Group::Compare - Validator comparing values
This document describes Hyper::Validator::Group::Compare 0.01
use Hyper::Validator::Group::Compare; my $validator = Hyper::Validator::Group::Compare->new(); my $invalid = $validator->is_valid({ first => 'value one', second => 'value two', }); my $valid = $validator->is_valid({ first => 'match', second => 'match', }); my $valid_too = $validator->is_valid({ first => undef, second => undef, });
Hyper::Validator::Group is used for checking if a two values are equal.
$validator->VALIDATE($arg_ref);
Called from Hyper::Validator::is_valid for the validation
version
Class::Std::Storable
Hyper::Validator::Group
$Author: ac0v $
$Id: Compare.pm 317 2008-02-16 01:52:33Z ac0v $
$Revision: 317 $
$Date: 2008-02-16 02:52:33 +0100 (Sa, 16 Feb 2008) $
$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/branches/0.04/lib/Hyper/Validator/Group/Compare.pm $
Andreas Specht <ACID@cpan.org>
<ACID@cpan.org>
Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Hyper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hyper
CPAN shell
perl -MCPAN -e shell install Hyper
For more information on module installation, please visit the detailed CPAN module installation guide.