Data::Money::Converter::WebserviceX - WebserviceX currency conversion implementation.
Version v0.07
use strict; use warnings; use Data::Money; use Data::Money::Converter::WebserviceX; my $curr = Data::Money->new(value => 10, code => 'USD'); my $conv = Data::Money::Converter::WebserviceX->new; my $newc = $conv->convert($curr, 'GBP'); print $newc->value, "\n";
Convert $money, which is an object of type Data::Money to currency $code and returns an object of type Data::Money.The $code has to be a valid three letter codes.
$money
$code
Cory G Watson, <gphat at cpan.org>
<gphat at cpan.org>
Currently maintained by Mohammad S Anwar (MANWAR) <mohammad.anwar at yahoo.com>
<mohammad.anwar at yahoo.com>
https://github.com/manwar/Data-Money-Converter-WebserviceX
Copyright 2010 Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Data::Money::Converter::WebserviceX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Money::Converter::WebserviceX
CPAN shell
perl -MCPAN -e shell install Data::Money::Converter::WebserviceX
For more information on module installation, please visit the detailed CPAN module installation guide.