in reply to exit value not passed back
I suspect the exit value is unsigned, so your negative return code is causing a problem here. perldoc -f exit suggests that:
The only universally recognized values for EXPR are 0 for success and 1 for error; other values are subject to interpretation depending on the environment in which the Perl program is running.
Try it with some positive values and see what you get.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: exit value not passed back
by mags (Initiate) on Oct 06, 2004 at 09:56 UTC | |
by muntfish (Chaplain) on Oct 06, 2004 at 10:43 UTC |