note clintp That's exactly what I was suggesting. I was in a bit of a rush and you noticed the figurative handwaving as I went out the door. Nice job of interpretation. :)<p> You might want a wantarray thrown in there somewhere to handle function calls in different contexts, if that's important.<p> The other suggestion I have is use the Devel::Prof module and simply cook the output from the dprofpp. I think that assumes you have a Perl built for debugging though. 108838 108849