in reply to Exiting script from subs
For me I try to never exit in a sub unless I am forced to.
But that's just my preference. It is one thing to exit in a sub in a small script or program where it is easy to spot.
If on the other hand you are working on a large project with several programmers that can be a nightmare, and as stated above that can also kill some reusability.
For me I would rather pass back an exit code or something and bail out from main().
Thats my 2 cents....keep the change.