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

.ds Aq ’

NAME

Oryx::Value::Boolean - Values containing a single boolean value

CONTENTS

SYNOPSIS



  package CMS::ReadWritePermission;

  use base qw( Oryx::Class );

  our $schema = {
      attributes => [ {
          name => filename,
          type => String,
      }, {
          name => read,
          type => Boolean,
      }, {
          name => write,
          type => Boolean,
      } ],
  };

  $x = CMS::ReadWritePermission->create({
      filname => file.txt,
      read    => 1,
      write   => 0,
  });



DESCRIPTION

This is a basic boolean field. The value stored is either true or false, but this value enforces the convention that 0 is false and 1 is true and no other values are acceptable.

This value type checks the types to make sure they are correct provides methods to make sure that any values stored are stored as an integer. The boolean data is stored using the Integer primitive type.

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::BOOLEAN (3) 2006-05-26

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