Skip Menu |

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

Report information
The Basics
Id: 5934
Status: resolved
Priority: 0/
Queue: Finance-QuoteHist

People
Owner: MSISK [...] cpan.org
Requestors: ekolve [...] comcast.net
Cc:
AdminCc:

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



Subject: use of uninitialized value in substitition in Finance::Quote::Generic
I get the following warning when grabbing data from Yahoo: Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.8.3/Finance/QuoteHist/Generic.pm line 556. Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.8.3/Finance/QuoteHist/Generic.pm line 557. This appears around 5 times. It is related to Yahoo sending a footer that looks like this: <!-- chart1.finance.scd.yahoo.com uncompressed Mon Apr 5 09:10:45 PDT 2004 --> at the bottom of the CSV file. You could get rid of this with a change line 871 to grep out lines that start with "<!--", but I don't know if that appropriate. There should be something placed in the Yahoo.pm file that pops off the footer if it was tacked on, though it doesn't look like there is a good place for that...
Resolved in version 0.33. It seems as though Yahoo ceased putting these comments in their csv data, but I went ahead and put in a filter just in case they reappear. Matt