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

FreeBSD Manual Pages

  
 
  

home | help
Protocol::XMLRPC::ValuUsernContributed PerlProtocol::XMLRPC::Value::Integer(3)

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

SYNOPSIS
	   my $integer = Protocol::XMLRPC::Value::Integer->new(123);

DESCRIPTION
       XML-RPC integer

ATTRIBUTES
   "alias"
       XML-RPC integer can be represented as 'int' and 'i4'. This parameter is
       'i4' by default,	but you	can change it to 'int'.

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

   "type"
       Returns 'integer'.

   "value"
	   my $integer = Protocol::XMLRPC::Value::Integer->new(1);
	   # $integer->value returns 1

       Returns serialized Perl5	scalar.

   "to_string"
	   my $integer = Protocol::XMLRPC::Value::Integer->new(1);
	   # $integer->to_string is now	'<i4>1</i4>'

	   my $integer = Protocol::XMLRPC::Value::Integer->new(1, alias	=> 'int');
	   # $integer->to_string is now	'<int>1</int>'

       XML-RPC integer string representation.

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

NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | METHODS

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

home | help