Hi!

I have installed Perl Finance::Quote package with fink.

Fetching stocks with gnucash (gnucash is using Finance::Quote) does
work fine, but I cannot fetch currencies.

>From http://finance-quote.sourceforge.net I was downloading
Finance::Quote in order to check fetching currencies with
currency-lookup.pl (see below):

        $ ./currency-lookup.pl USD EUR
        Urgh!  Nothing back

I was running update-finance-quote before with its standard settings.

Is this a fink package problem? How can I sove it?

Thanks for any hint!
Claus

***** BEGIN currency-lookup.pl *****
#!/usr/bin/perl -w
use strict;
use lib '../lib';
use Finance::Quote;

# This script demonstrates how currencies can be converted using
# Finance::Quote.

# Example usage:   currency-lookup.pl USD AUD
# (Converts from US Dollars to Australian Dollars)

die "Usage: $0 FROM TO\n" unless defined($ARGV[1]);

my $q = Finance::Quote->new();

my $exchange_rate = $q->currency($ARGV[0],$ARGV[1]);

die "Urgh!  Nothing back\n" unless $exchange_rate;

print $ARGV[0]."->".$ARGV[1]." = ".$exchange_rate."\n";
***** END currency-lookup.pl *****



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to