Skip Menu |

This queue is for tickets about the Finance-Currency-Convert-XE CPAN distribution.

Report information
The Basics
Id: 32675
Status: resolved
Priority: 0/
Queue: Finance-Currency-Convert-XE

People
Owner: Nobody in particular
Requestors: brian.mills [...] logicacmg.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Enhancement request - ability to add new currencies
Date: Sat, 26 Jan 2008 13:54:05 -0000
To: <bug-Finance-Currency-Convert-XE [...] rt.cpan.org>
From: "Mills, Brian" <brian.mills [...] logicacmg.com>
The currency list in XE.pm 0.14 is a little out of date (for example it has RUR instead of RUB, and CHF is not there at all) It would be useful if a method could be exposed to allow additional currencies to be added. For example: sub addcurrency { my ($self, $code, $name, $symbol) = @_; $currencies->{$code} = {name => $name, symbol => $symbol}; } Brian Mills briian [at] millsb.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Currency list refreshed with 170 currencies. Added an add_currency() method, which allow you to pass a hash of currencies. See docs for further details. All above fixed as of v0.15