|
NAMEFinance::Currency::Convert::XE - Currency conversion module.SYNOPSISuse Finance::Currency::Convert::XE; my $obj = Finance::Currency::Convert::XE->new() || die "Failed to create object\n" ; my $value = $obj->convert( 'source' => 'GBP', 'target' => 'EUR', 'value' => '123.45', 'format' => 'text' ) || die "Could not convert: " . $obj->error . "\n"; my @currencies = $obj->currencies; or use Finance::Currency::Convert::XE; my $obj = Finance::Currency::Convert::XE->new( 'source' => 'GBP', 'target' => 'EUR', 'format' => 'text' ) || die "Failed to create object\n" ; my $value = $obj->convert( 'value' => '123.45', 'format' => 'abbv' ) || die "Could not convert: " . $obj->error . "\n"; $value = $obj->convert('123.45') || die "Could not convert: " . $obj->error . "\n"; my @currencies = $obj->currencies; DESCRIPTIONCurrency conversion module using XE.com's Universal Currency Converter (tm) site.WARNING: Do not use this module for any commercial purposes, unless you have obtain an explicit license to use the service provided by XE.com. For further details please read the Terms and Conditions available at <http://www.xe.com>.
METHODS
TERMS OF USEXE.com have a Terms of Use policy that states:This website is for informational purposes only and is not intended to provide specific commercial, financial, investment, accounting, tax, or legal advice. It is provided to you solely for your own personal, non-commercial use and not for purposes of resale, distribution, public display or performance, or any other uses by you in any form or manner whatsoever. Unless otherwise indicated on this website, you may display, download, archive, and print a single copy of any information on this website, or otherwise distributed from XE.com, for such personal, non-commercial use, provided it is done pursuant to the User Conduct and Obligations set forth herein. As such this software is for personal use ONLY. No liability is accepted by the author for abuse or miuse of the software herein. Use of this software is only permitted under the terms stipulated by XE.com. The full legal document is available at <http://www.xe.com/legal/> TODOCurrency symbols are currently specified with a generic symbol, if the currency symbol is unknown. Are there any other symbols available in Unicode? Let me know if there are.SEE ALSOHTML::TokeParser, WWW::MechanizeSUPPORTThere are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties that are not explained within the POD documentation, please submit a bug to the RT system (see link below). However, it would help greatly if you are able to pinpoint problems or even supply a patch.Fixes are dependant upon their severity and my availablity. Should a fix not be forthcoming, please feel free to (politely) remind me by sending an email to barbie@cpan.org . RT: <http://rt.cpan.org/Public/Dist/Display.html?Name=Finance-Currency-Convert-XE> AUTHORBarbie, <barbie@cpan.org> for Miss Barbell Productions <http://www.missbarbell.co.uk>. COPYRIGHTCopyright © 2002-2011 Barbie for Miss Barbell Productions. This module is free software; you can redistribute it and/or modify it under the Artistic Licence v2. POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |