Think about Loose Coupling | |
PerlMonks |
Re: exit or die in error handling?by monkey_boy (Priest) |
on Apr 14, 2005 at 10:16 UTC ( [id://447687]=note: print w/replies, xml ) | Need Help?? |
I dont think "Memory management" has anything to do with it. They both end the program, however exit() without an argument returns 0 (which is true in the *nix world). also, errors should be printed to STDERR not SDTOUT. So.. third option..
This is not a Signature...
In Section
Seekers of Perl Wisdom
|
|