NAME

Hyper::Validator::Group::Compare - Validator comparing values

VERSION

This document describes Hyper::Validator::Group::Compare 0.01

SYNOPSIS

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,
});

DESCRIPTION

Hyper::Validator::Group is used for checking if a two values are equal.

SUBROUTINES/METHODS

VALIDATE

$validator->VALIDATE($arg_ref);

Called from Hyper::Validator::is_valid for the validation

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

  • version

  • Class::Std::Storable

  • Hyper::Validator::Group

INCOMPATIBILITIES

BUGS AND LIMITATIONS

RCS INFORMATIONS

Last changed by

$Author: ac0v $

Id

$Id: Compare.pm 317 2008-02-16 01:52:33Z ac0v $

Revision

$Revision: 317 $

Date

$Date: 2008-02-16 02:52:33 +0100 (Sat, 16 Feb 2008) $

HeadURL

$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/trunk/lib/Hyper/Validator/Group/Compare.pm $

AUTHOR

Andreas Specht <ACID@cpan.org>

LICENSE AND COPYRIGHT

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.