in reply to Finance::Quote; and foreach

chomp your stock symbols:
chomp(@stocks = <SLIST>);
Finance::Quote returns the data even though you have the linefeeds, but your for loop does not access the data because the hash keys returned from fetch() do not have linefeeds.

Replies are listed 'Best First'.
Re^2: Finance::Quote; and foreach
by mtaivalmaa (Initiate) on Apr 03, 2006 at 13:53 UTC
    chomp ROCKS!! Thanks for the help it worked great!