in reply to Re: native exit codes 512 and 2304
in thread native exit codes 512 and 2304

It's only a my guess: on different runtime error like 'malloc() failed' or any different like 'label not found' the error code may be different?
Anyway, the CORE::GLOBAL::exit is redefined and there is no CORE::exit() on the FCGI::* sources.

Replies are listed 'Best First'.
Re^3: native exit codes 512 and 2304
by Anonymous Monk on Jan 20, 2010 at 11:56 UTC

      Although the exit code part of $? can be. That's what die prefers to use, for example. You can check what the exit code could mean as an error number, but be warned that it might not be accurate.

      Keep in mind that even if $! is used as the exit code, it might not indicate the cause of the error.