Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 48818
Status: resolved
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: wwolly [...] gmx.net
Cc:
AdminCc:

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



Subject: Can't call method "rows" on an undefined value
Date: Wed, 19 Aug 2009 01:32:52 +0200
To: bug-Finance-Quote [...] rt.cpan.org
From: wwolly [...] gmx.net
Hello, guess this is eitehr a bug in Finance::Quote or in the documentation. When using the simple example from the documentation ("showstocks"), then ./showstocks europe 12150.PA produces an error: Can't call method "rows" on an undefined value at /usr/share/perl5/HTML/TableExtract.pm line 224. The simplest program to reproduce the error: This is taken from the docu available at: http://sourceforge.net/docman/display_doc.php?docid=166&group_id=4232 -------------<snip>------------ #!/usr/bin/perl use Finance::Quote; my $q = Finance::Quote->new; my %info = $q->fetch("europe","12150.PA"); -------------------------------- System: Debian (unstable) x86_64. Finance::Quote 1.13 and 1.16 tested. Furthermore, I'd really appreciate if the documentation for the different modules could be just a LITTLE bit illuminating concerning what kind of SYMBOL they expect for the lookup. (I.e. what IS "12150.PA"??)
On Tue Aug 18 19:34:58 2009, wwolly@gmx.net wrote: Show quoted text
> Hello, > > guess this is eitehr a bug in Finance::Quote or in the documentation. > > When using the simple example from the documentation ("showstocks"), > then > ./showstocks europe 12150.PA > produces an error: > > Can't call method "rows" on an undefined value > at /usr/share/perl5/HTML/TableExtract.pm line 224. > > > The simplest program to reproduce the error: > This is taken from the docu available at: > http://sourceforge.net/docman/display_doc.php?docid=166&group_id=4232 > > -------------<snip>------------ > #!/usr/bin/perl > use Finance::Quote; > my $q = Finance::Quote->new; > my %info = $q->fetch("europe","12150.PA"); > -------------------------------- > > System: Debian (unstable) x86_64. > Finance::Quote 1.13 and 1.16 tested. > > Furthermore, I'd really appreciate if the documentation for the different > modules could be just a LITTLE bit illuminating concerning what kind of > SYMBOL they expect for the lookup. (I.e. what IS "12150.PA"??)
the Yahoo::Europe doesn't support these symbols anymore. 12150.PA is another way of calling UG.PA. UG.PA does work as presumed. So I modified the documentation. Thanks for the info -- Erik