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!
In Section
Seekers of Perl Wisdom
in reply to exit or die in error handling?