CGI::ValidOp::Check::length - CGI::ValidOp::Check module to check length of value


CGI-ValidOp documentation  | view source Contained in the CGI-ValidOp distribution.

Index


NAME

Top

CGI::ValidOp::Check::length - CGI::ValidOp::Check module to check length of value

DESCRIPTION

Top

Fails if length of value in characters is not within specified parameters. Usage:

length
length(0)
length(0,0)

Any value will pass.

length(3)
length(3,3)

Length must exactly equal 3.

length(3,0)

Length must be at least 3.

length(0,3)

Length must be at most 3.

length(3,6)

Length must be between 3 and 6.

length(6,3)

Error; death.

AUTHOR

Top

Randall Hansen <legless@cpan.org>

COPYRIGHT

Top


CGI-ValidOp documentation  | view source Contained in the CGI-ValidOp distribution.