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
Config::Objective::Boolean(3) User Contributed Perl Documentation Config::Objective::Boolean(3)

Config::Objective::Boolean - boolean data type class for Config::Objective

  use Config::Objective;
  use Config::Objective::Boolean;

  my $conf = Config::Objective->new('filename', {
                        'boolobj'       => Config::Objective::Boolean->new()
                });

The Config::Objective::Boolean module provides a class that represents a boolean value in an object so that it can be used with Config::Objective. Its methods can be used to manipulate the encapsulated boolean value from the config file.

The Config::Objective::Boolean class is derived from the Config::Objective::DataType class, but it defines/overrides the following methods:

set()
Sets the object's value to the supplied value. The value must be one of the following: "yes", "no", "on", "off", "true", "false", 1, or 0.
equals()
Returns true if the argument equals the object's value. If the argument is not defined, it is treated as if it were true.

Mark D. Roth <roth@uiuc.edu>

perl

Config::Objective

Config::Objective::DataType

2003-02-03 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.