D'oh!!! A bug in the code. If anyone is using it, change these 3 lines:
for $stock (@stocks) {
@q = getquote ($stock_list);
}
to this one line:
@q = getquote ($stock_list);
This was basically calling the getquote function for as many lines as
there were in the .portfolio file, but each call was exactly the same.
So removing the for loop will reduce the time spent by x number of
lines.
-Rob.
- Code Sharing Rob Hudson
- Rob Hudson
