exit is not appropriate for handling error conditions, you should throw an exception instead. Please see Dealing with errors in subroutines for more discussion on this subject.
In reply to Re: Subroutine to indicate error condition
by moritz
in thread Subroutine to indicate error condition
by kk2202
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |