Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Using up-to-date currency conversion rates

by alexm (Chaplain)
on Sep 07, 2008 at 00:01 UTC ( #709563=note: print w/ replies, xml ) Need Help??


in reply to Re: Using up-to-date currency conversion rates
in thread Using up-to-date currency conversion rates

add is some way to get the list of know currency abbreviations (and their full-length names), so that you could trap an unknown currency spec before sending it off to Yahoo via Finance::Quote

I updated code with Locale::Currency::code2currency() checks to avoid querying Yahoo with invalid ISO 4217 codes. However, there are some valid codes that are not available either, like ADP (Andorran Peseta).

show the clueless user what the available currency codes/names are

The problem is that most of the 203 codes in ISO 4217 are not available via Finance::Quote, so the list would not be very accurate in terms of helping a clueless user.

Update: fixed broken module links.


Comment on Re^2: Using up-to-date currency conversion rates

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://709563]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (19)
As of 2014-07-14 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (268 votes), past polls