C:\strawberryPerl\scripts>perl getStockPrice2.pl getquote ERROR: No information returned for symbol GOOGL from usa at getStockPri ce2.pl line 24. C:\strawberryPerl\scripts> #### use strict; use warnings; use Finance::Quote; getquote('googl', '20140822'); my $s; sub getquote { my ($sym, $qdate) = @_; $sym = uc($sym); my $quote = Finance::Quote->new; my @exchanges = sort($quote->sources); $quote->timeout(60); $quote->require_labels(qw/price date high low volume/); $quote->set_currency('USD'); my $exch = 'usa'; my %info = $quote->fetch($exch, $sym, 'A', 'MSFT'); if (!%info) { $s = "getquote ERROR: No information returned for symbol $sym from $exch"; warn $s; return; } my $dt = $info{$sym, 'date'}; print "Price of $sym is " . $info{$sym, 'price'} . ' for ' . $dt . + "\n"; # DEBUG }