NAME

Protocol::XMLRPC::Value::String - XML-RPC array

SYNOPSIS

my $string = Protocol::XMLRPC::Value::String->new('Hello, world!');

DESCRIPTION

XML-RPC string

ATTRIBUTES

METHODS

new

Creates new Protocol::XMLRPC::Value::String instance.

type

Returns 'string'.

value

my $string = Protocol::XMLRPC::Value::String->new('foo');
# $string->value returns 'foo'

Returns serialized Perl5 scalar.

to_string

my $string = Protocol::XMLRPC::Value::String->new('foo');
# $string->to_string is now '<string>foo</string>'

XML-RPC string string representation.