Вячеслав Тихановский > Protocol-XMLRPC-0.10 > Protocol::XMLRPC::Value::String

Download:
Protocol-XMLRPC-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: