Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
Oryx::Value::Text(3) User Contributed Perl Documentation Oryx::Value::Text(3)

Oryx::Value::Text - Values containing large amounts of text data

  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  => <<LONG_TEXT,
Lorem ipsum dolar sit amet, consectetuer adipiscing elit. Nullam a eros eu
erat facibus bibendum. Fusce arcu. Cras non neque. Proin tempus, turpis
vitae malesuada tinicidunt, justo magna eleifend felis, non posuere tortor
pede quis quam. Nam magna. Donec volutpat, urna eu luctus cursus, nulla
ipsum congue lorem, nec venenatis purus odio sit amet metus. Maecenas quam
quam, egestas vel, eleifend eu, aliquet id, augue. Aenean sit amet massa.
Curabitur tempus. Ut eleifend. Donec ante. Vivamus posuere lacus site amet
ipsum. Donec condimentum ligula sed sapien. Proin sem dui, elementum et,
sollicitudin a, cursus eu, urna.

Any large amount of text stored in a field can be stored in a Text value. This is stored using the "Text" primitive, which should be able to store large amounts of text data.

The actual maximum length will depend upon the database, but is usually measured in Megabytes, which should be sufficient for nearly anything.


Richard Hundt <richard NO SPAM AT>

This library is free software and may be used under the same terms as Perl itself.
2006-02-17 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.