Marcel GrĂ¼nauer

NAME

Class::Value::String - String value object with length and character set checking

VERSION

version 1.100840

DESCRIPTION

This is a value object for strings. It can check for string length and character set restrictions.

METHODS

charset_handler

Returns the character set handler for this value object. This method asks the value object's string_delegate() to get a character set handler. The character set handler needs to have an is_valid_string() method.

is_valid_normalized_value

In additional to the checks of this class' superclass, this method also asks is_valid_string_value().

is_valid_string_value

This method verifies that the argument value is not longer than the allowed maximum length and that the value object's character set handler says that it is a valid string.

max_length

Returns the maximum string length for this value object. This method asks the value object's string_delegate() to get the maximum length.

INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Class-Value.

AVAILABILITY

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Class-Value/.

The development version lives at http://github.com/hanekomu/Class-Value/. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR

  Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Marcel Gruenauer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.