I'm not sure what the problem is, then...

about your example... with something like that, I'd have the Do_Something sub be a boolean function, then I could test it to see if it worked or not.

GComyn