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

FreeBSD Manual Pages

  
 
  

home | help
Protocol::XMLRPC::ValuUseroContributed PerlProtocol::XMLRPC::Value::Boolean(3)

NAME
       Protocol::XMLRPC::Value::Boolean	- XML-RPC array

SYNOPSIS
	   my $true  = Protocol::XMLRPC::Value::Boolean->new(\1);
	   my $true  = Protocol::XMLRPC::Value::Boolean->new('true');
	   my $false = Protocol::XMLRPC::Value::Boolean->new(\0);
	   my $false = Protocol::XMLRPC::Value::Boolean->new('false');

DESCRIPTION
       XML-RPC boolean

METHODS
   "new"
       Creates new Protocol::XMLRPC::Value::Boolean instance.

   "type"
       Returns 'boolean'.

   "value"
	   my $boolean = Protocol::XMLRPC::Value::Boolean->new(\1);
	   # $boolean->value returns 1

	   my $boolean = Protocol::XMLRPC::Value::Boolean->new('false');
	   # $boolean->value returns 'false'

       Returns serialized Perl5	boolean.

   "to_string"
	   my $boolean = Protocol::XMLRPC::Value::Boolean->new(\1);
	   # $boolean->to_string is now	'<boolean>1</boolean>'

       XML-RPC boolean string representation.

perl v5.32.0			  2011-05-0Protocol::XMLRPC::Value::Boolean(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

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

home | help