Protocol::XMLRPC::Value::Base64 - XML-RPC array
my $base64 = Protocol::XMLRPC::Value::Base64->new('foo'); my $base64 = Protocol::XMLRPC::Value::Base64->parse("Zm9v\n");
XML-RPC base64
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.
To install Protocol::XMLRPC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::XMLRPC
CPAN shell
perl -MCPAN -e shell install Protocol::XMLRPC
For more information on module installation, please visit the detailed CPAN module installation guide.