Mohammad S Anwar > Data-Money-Converter-WebserviceX > Data::Money::Converter::WebserviceX

Download:
Data-Money-Converter-WebserviceX-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Data::Money::Converter::WebserviceX - WebserviceX currency conversion implementation.

VERSION ^

Version v0.07

SYNOPSIS ^

    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";

METHODS ^

convert($money, $code)

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.

AUTHOR ^

Cory G Watson, <gphat at cpan.org>

Currently maintained by Mohammad S Anwar (MANWAR) <mohammad.anwar at yahoo.com>

REPOSITORY ^

https://github.com/manwar/Data-Money-Converter-WebserviceX

SEE ALSO ^

Data::Money
Data::Money::Converter

COPYRIGHT & LICENSE ^

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.

syntax highlighting: