http://qs1969.pair.com?node_id=447686


in reply to exit or die in error handling?

Use "exit" if it's not an error. Use "die" if it is. You don't want to worry about memory management for simple things like this - think programmer efficiency!