Subject: | Fatal error when reporting splits on indices. |
The changes for splits in 1.05 work great for equity symbols, but a
fatal error occurs if any index symbols are in the symbol list.
command line:
perl -MFinance::QuoteHist -e "@symbols = qw/^DJI ^OEX ^GSPC ^NYA XAX
^IXIC ^VIX/; $q = Finance::QuoteHist->new(symbols => \@symbols,
start_date => '01/01/2006', end_date => 'today'); print qq(\nSplits\n);
foreach $row ($q->splits()) { print qq(@$row\n); }"
Error: "Can't call method "hrow" on an undefined value at
C:/Apps/Perl/site/lib/Finance/QuoteHist/Yahoo.pm line 112."
(Rarely an index or index-tracking fund really does split. For example,
QQQQ split on 20-Mar-00.)