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.