If you want to trap whatever error happened use die function, to capture the error message. The exit does not.
In reply to Re: different between die and exit
by irah
in thread different between die and exit
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |