The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

AUTHOR

Viacheslav Tikhanovskii, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tikhanovskii.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.