table of contents
other versions
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
- 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¶
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.
2009-11-30 | perl v5.20.2 |