Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
at the end of the subroutine. I was just wondering what's the difference between using exit 1; exit 0; or exit n where n is any number. my guess was that exit 0; is a false exit? and any value other than zero is a true exit...... am I close?exit 6;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: exit EXPR
by abstracts (Hermit) on Aug 10, 2001 at 13:54 UTC | |
|
Re: exit EXPR
by busunsl (Vicar) on Aug 10, 2001 at 13:55 UTC | |
|
Re: exit EXPR
by faure (Sexton) on Aug 10, 2001 at 20:13 UTC |