Wow this is cool and so much better than my solution! Thanks, I'll use it right away.
In reply to Re^2: private recursive subroutines by Sixtease in thread private recursive subroutines by Sixtease