in reply to different between die and exit
Also, die (by default unless caught) returns a non-zero exit status to the operating system, whereas exit (by default) returns a zero exit status.
Update: corrected as per ikegami's comment.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: different between die and exit
by ikegami (Patriarch) on Feb 24, 2009 at 07:18 UTC |
In Section
Seekers of Perl Wisdom