Scroll to navigation

CGI::ValidOp::Check::length(3pm) User Contributed Perl Documentation CGI::ValidOp::Check::length(3pm)

NAME

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

DESCRIPTION

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

length(0)
Any value will pass.
length(3)
Length must exactly equal 3.
Length must be at least 3.
Length must be at most 3.
Length must be between 3 and 6.
Error; death.

AUTHOR

Randall Hansen <legless@cpan.org>

COPYRIGHT

Copyright (c) 2003-2005 Randall Hansen. All rights reserved.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

2009-11-30 perl v5.20.2