Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by alexm (Chaplain)
on Sep 07, 2008 at 00:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://709563]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-23 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found