The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XML::RPC::CustomUA - XML::RPC with custom user agent string

DEPRECATION WARNING

XML::RPC with Version 1.0 or higher now includes this patch. Don't use XML::RPC::CustomUA 1.0 (or higher) for new projects.

If at all possible, switch to the standard XML::RPC for existong projects as well! You only need to change the lines with "use" and "new", everything else is exactly the same.

SYNOPSIS

  use XML::RPC::CustomUA;
  
  my $rpcfoo = XML::RPC::CustomUA->new($apiurl, ('User-Agent' => 'Baz/3000'));

DESCRIPTION

This overloads XML::RPC to allow a custom user agent string. Everything else stays the same.

SEE ALSO

XML::RPC

WARNING

This module overrides an internal method of a module by another author. This might break in time or might not even work for you. USE WITH CAUTION!

AUTHOR

Rene Schickbauer, <maplat@cavac.at>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Rene Schickbauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available.