SYNOPSIS
use Finance::Currency::Convert::KlikBCA qw(convert_currency);
printf "1 USD = Rp %.0f\n", convert_currency(1, 'USD', 'IDR');
DESCRIPTION
prepend:FUNCTIONS
convert_currency($amount, $from, $to) => NUM
Currently can only handle conversion *to* IDR. Dies if given other
currency.
Will warn if failed getting currencies from the webpage.
Currency rate is not cached (retrieved from the website every time).
Employ your own caching.
Currently uses the Bank Notes rate.
Will return undef if no conversion rate is available for the requested
currency.
Use get_currencies(), which actually retrieves and scrapes the source
web page, if you need the more complete result.
SEE ALSO
http://www.klikbca.com/