I have an app which calls the same sub routine a number of times in a single pass. The sub routine is accessing and processing data from a MySql database. I have some local vars in the sub routine, declared with my, and find that sometimes the process slows down to a crawl. Should I be declaring these local vars as globals or are the sub routine calls totally independant of each other?
Keith
Keith