NAME
Hyper::Validator::Single::Required - Validator for required values
VERSION
This document describes Hyper::Validator::Single::Required 0.01
SYNOPSIS
use Hyper::Validator::Single::Required;
my $validator = Hyper::Validator::Single::Required->new();
my $invalid = $validator->is_valid(undef);
my $valid = $validator->is_valid(1);
DESCRIPTION
Hyper::Validator::Single::Required is used for checking if a value is defined and not an empty string.
SUBROUTINES/METHODS
VALIDATE
$validator->VALIDATE($value);
Called from Hyper::Validator::is_valid for the validation.
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
version
Class::Std::Storable
Hyper::Validator::Single
INCOMPATIBILITIES
BUGS AND LIMITATIONS
RCS INFORMATIONS
- Last changed by
-
$Author: ac0v $
- Id
-
$Id: Required.pm 317 2008-02-16 01:52:33Z ac0v $
- Revision
-
$Revision: 317 $
- Date
-
$Date: 2008-02-16 02:52:33 +0100 (Sa, 16 Feb 2008) $
- HeadURL
-
$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/tags/0.05/lib/Hyper/Validator/Single/Required.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.