package Oryx::Value::Text; use base qw(Oryx::Value); use Data::Types qw(is_string to_string); sub primitive { 'Text' } sub check_type { my ($self, $value) = @_; return is_string($value); } 1; __END__ =head1 NAME Oryx::Value::Text - Values containing large amounts of text data =head1 SYNOPSIS package CMS::Paragraph; use base qw( Oryx::Class ); our $schema = { attributes => [ { name => 'heading', type => 'String', }, { name => 'paragraph', type => 'Text', } ], }; $x = CMS::Picture->create({ filename => 'Section 3.', picture => < =head1 AUTHOR Richard Hundt Erichard NO SPAM AT protea-systems.comE =head1 COPYRIGHT AND LICENSE This library is free software and may be used under the same terms as Perl itself. =cut