The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

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