DOKK / manpages / debian 12 / libfinance-quote-perl / Finance::Quote::Currencies.3pm.en
Finance::Quote::Currencies(3pm) User Contributed Perl Documentation Finance::Quote::Currencies(3pm)

Finance::Quote::Currencies - List of currencies from iban.com

    use Finance::Quote::Currencies;
    my $currencies = Finance::Quote::Currencies::known_currencies();
    # Grab the latest list
    my $live_currencies = Finance::Quote::Currencies::fetchive_currencies();

This module provides a list of known currencies from iban.com.

known_currencies returns a cached currency information stored in this module.

fetch_live_currencies is a function that fetches the latest currency information.

Both functions return a hash

    {CODE => {'name'    => 'Currency Name', 
              'country' => ['List of countries known to use this currency'],
              'number'  => 'ISO 4217 currency code'}}

The currency list stored in this module was last copied from the live site Oct 2020.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Currency information fetched through this module is bound by terms and conditons available at https://www.iban.com/terms.

  Bradley Dean <bjdean@bjdean.id.au> - Original Yahoo version
2023-05-14 perl v5.36.0