Closure (PM discussion here ) or make it a package?
In reply to Re: Best Practice for replace sub by tmharish in thread Best Practice for replace sub by Skeeve