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.