Subject: | Return empty array for stocks without options |
When retrieving PUT CENTA options from Yahoo! Finance
(http://finance.yahoo.com/q/op?s=CENTA), Finance::QuoteOptions returns a
1-element array, although there are no PUT options listed:
my $fq_options = Finance::QuoteOptions->new('CENTA');
die 'Retrieve Failed' unless $fq_options->retrieve;
my $puts = $fq_options->puts(0);
print scalar @puts; # 1