GSP
Quick Navigator

Search Site

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

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ORYX::VALUE::TEXT (3)

.ds Aq ’

NAME

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

CONTENTS

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  => <<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.
LONG_TEXT
  });



DESCRIPTION

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.

SEE ALSO

Oryx::Value

AUTHOR

Richard Hundt <richard NO SPAM AT protea-systems.com>

COPYRIGHT AND LICENSE

This library is free software and may be used under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ORYX::VALUE::TEXT (3) 2006-02-17

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