This library is free software and may be used only under the same terms as Perl itself. COPYRIGHTĬopyright (C) Lee Goddard, 2001, 2005, ff. Lee Goddard, lgoddard -at- cpan -dot- org. Please don't just post a bad review on CPAN, I don't get CC'd them. If this doesn't work, Yahoo have probably changed their URI or HTML format. (For the date this was last checked, print $DATE). The latter is a number the former two codes defined in our %currencies hash. The old convert routine: accesses, where start is the currency being converted, to is the target currency, and amount is the amount being converted. In more detail, access, where the value of s (in the example, GBPUSD) is the value of the source and target currencies, and the rest is stuff I've not looked into. Requires the sum to convert, and two symbols to represent the source and target currencies. SUBROUTINE convert $value = &convert( $amount_to_convert, $from, $to) MYR Currency Exchange Rate on May 2017: 1 US Dollar RM4.27 1 Singapore Dollar RM3.08 1 Australian Dollar RM3. Exchange rate updated from Yahoo Currency Converter. In the event that attempts to convert fail, you will recieve undef in response, with errors going to STDERR, and notes displayed if the modules global $CHAT is defined. Convert to/from Malaysian Ringgit (MYR) and other major currencies. USEĬall the module's &convert routine, supplying three arguments: the amount to convert, and the currencies to convert from and to.Ĭodes are used to identify currencies: you may view them in the values of the %currencies hash, where keys are descriptions of the currencies. Using, converts a sum between two currencies. Warn %Finance::Currency::Convert::Yahoo::currencies $Finance::Currency::Convert::Yahoo::CHAT = 1 DEPRECATED SUBROUTINE deprecated_convertįinance::Currency::Convert::Yahoo - convert currencies using Yahoo SYNOPSIS use Finance::Currency::Convert::Yahoo.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |