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::COMPLEX (3)

.ds Aq ’

NAME

Oryx::Value::Complex - Values containing complex Perl types

CONTENTS

SYNOPSIS



  package CMS::Setting;

  use base qw( Oryx::Class );

  our $schema = {
      attributes => [ {
          name => setting_key,
          type => String,
      }, {
          name => setting_value,
          type => Complex,
      } ],
  };

  $x = CMS::Setting->create({
      setting_key   => my_setting,
      setting_value => {
          foo => 1,
          bar => 2,
          baz => [ 1, 2, 3 ],
      },
  });



DESCRIPTION

This is a good catch-all type for many kinds of Perl data. It can store any arbitrarily complex data structure that is serializable with YAML. This includes almost anything. However, you should probably see that documentation and test your particular data first as YAML cannot serialize everything.

This value type does not perform any work to check, but uses YAML to inflate and deflate the data into the Text primitive type.

SEE ALSO

Oryx::Value, YAML

AUTHORS

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

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

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::COMPLEX (3) 2006-02-17

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