Skip Menu |

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

Report information
The Basics
Id: 84708
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Finance-TickerSymbols

People
Owner: Nobody in particular
Requestors: animedbz25 [...] gmail.com
Cc:
AdminCc:

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



Subject: Warning generated
Date: Wed, 17 Apr 2013 21:44:28 -0400
To: bug-Finance-TickerSymbols [...] rt.cpan.org
From: Matt W <animedbz25 [...] gmail.com>
Finance::TickerSymbols::symbols_list() called too early to check prototype at /usr/local/share/perl5/Finance/TickerSymbols.pm line 100. This is caused due to the recursion call of symbols_list('all') and the prototype definitions are not known ahead of time. I have tested and this appears to correct the issue: Modify sub symbols_list($) { ... ... } To: sub symbols_list($); sub symbols_list($) { ... ... } This causes the prototype definitions to be loaded so it doesnt generate the warning.
Hello, I've just came back from a long, computerless, vacation. I'll fix this declaration ASAP. Best, jezra On Wed Apr 17 21:45:22 2013, animedbz25@gmail.com wrote: Show quoted text
> Finance::TickerSymbols::symbols_list() called too early to check prototype > at /usr/local/share/perl5/Finance/TickerSymbols.pm line 100. > > This is caused due to the recursion call of symbols_list('all') and the > prototype definitions are not known ahead of time. > > I have tested and this appears to correct the issue: > > > Modify > > sub symbols_list($) { > ... > ... > } > > To: > > sub symbols_list($); > sub symbols_list($) { > ... > > ... > } > > This causes the prototype definitions to be loaded so it doesnt generate > the warning.
As far as I can tell, I've fixed this issue in version 1.041 (pause file Finance-TickerSymbols-1.041.tar.gz). Best, Josef Ezra