in reply to Exiting script from subs

If you're going to do this, I suggest exit(1) or other non-zero exit status if it's an abnormal termination, this is somewhat like die. exit(0) from deep in the code might raise some eyebrows.