Badger::Data::Facet::Text(3p)

NAME
Badger::Data::Facet::Text - base class for text validation facets

DESCRIPTION
This module implements a base class for text validation facets.

METHODS
This module implements the following methods in addition to those inherited from the Badger::Data::Facet and Badger::Base base classes.

  validate($value)
Asserts that the $value passed by reference as an argument is a text string or an object with a overloaded auto-stringification operator that allows it to behave like a text string.

AUTHOR
Andy Wardley <http://wardley.org/>

COPYRIGHT
Copyright (C) 2008-2012 Andy Wardley. All Rights Reserved.

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

SEE ALSO
Badger::Base, Badger::Data::Facet.