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

NAME

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

SYNOPSIS

    my $base64 = Protocol::XMLRPC::Value::Base64->new('foo');
    my $base64 = Protocol::XMLRPC::Value::Base64->parse("Zm9v\n");

DESCRIPTION

XML-RPC base64

METHODS

new

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

parse

Parses base64 string and creates a new Protocol::XMLRPC:::Value::Base64 instance.

type

Returns 'base64'.

value

    my $base64 = Protocol::XMLRPC::Value::Base64->new('foo');
    # $base64->value returns 'Zm9v\n'

Returns serialized Perl5 scalar.

to_string

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

XML-RPC base64 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.