Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Config::Objective::BooUser(Contributed Perl DocumConfig::Objective::Boolean(3)

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

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

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

DESCRIPTION
       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.

AUTHOR
       Mark D. Roth <roth@uiuc.edu>

SEE ALSO
       perl

       Config::Objective

       Config::Objective::DataType

perl v5.32.0			  2003-02-03	 Config::Objective::Boolean(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Config::Objective::Boolean&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help