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


Protocol-XMLRPC documentation  | view source Contained in the Protocol-XMLRPC distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    my $double = Protocol::XMLRPC::Value::Double->new(1.12);

DESCRIPTION

Top

XML-RPC double

METHODS

Top

new

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

type

Returns 'double'.

value

    my $double = Protocol::XMLRPC::Value::Double->new(1.2);
    # $double->value returns 1.2

Returns serialized Perl5 scalar.

to_string

    my $double = Protocol::XMLRPC::Value::Double->new(1.2);
    # $double->to_string is now '<double>1.2</double>'

XML-RPC double string representation.

AUTHOR

Top

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT

Top


Protocol-XMLRPC documentation  | view source Contained in the Protocol-XMLRPC distribution.