Sorry for the cryptic post. I didn't want to ask people to look at the whole body of code (which is traversing a graph, adding up dependencies). I was mainly trying to inquire whether I was using some kind of known-slow operation in there. It sounds like not, so thanks for the looks. I will hook up Time::HiRes and start timing the loops to find out what's going on.
Happy Saturday.....
Steve