in reply to Using up-to-date currency conversion rates
Thanks(++) for a really nice example of using Cache::FileCache -- exactly the kind of thing that's good to learn in general. The only thing I would 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 -- and you could even show the clueless user what the available currency codes/names are.
There's bound to be some easy-to-fetch reference list for that; or maybe you could take the time to pull in the contents of http://uk.finance.yahoo.com/currency-converter, which appears to contain the full menu of available choices (hence, the set that Finance::Quote is able to service), and parse out the contents of that menu.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using up-to-date currency conversion rates
by alexm (Chaplain) on Sep 07, 2008 at 00:01 UTC | |
Re^2: Using up-to-date currency conversion rates
by ikegami (Patriarch) on Sep 06, 2008 at 17:33 UTC | |
by alexm (Chaplain) on Sep 07, 2008 at 00:15 UTC | |
Re^2: Using up-to-date currency conversion rates
by andreas1234567 (Vicar) on Sep 10, 2008 at 11:01 UTC | |
by alexm (Chaplain) on Sep 10, 2008 at 12:48 UTC |
In Section
Cool Uses for Perl