in reply to PERL exit code 255

Generally speaking it means that within the program there is a line that says exit(255). Keep in mind that on unix systems exit codes are 8 bits, so if you think that your code isn't throwing that exit code because you grepped all the code for exit(255) and didn't find anything, it may be that you didn't look hard enough...

[jason@dev]$ perl -e 'exit -1'; [jason@dev]$ echo $? 255

We're not surrounded, we're in a target-rich environment!

Replies are listed 'Best First'.
Re^2: PERL exit code 255
by mcintst (Initiate) on Oct 04, 2006 at 03:22 UTC
    all of the non null exit statements within the script are preceeded by a write to an error log, and none mention the value 255 (or even -1) I don't see anything written to the error log so I assume that PERL itself is setting that exit code... -Stuart.
Re^2: PERL exit code 255
by Anonymous Monk on Dec 14, 2011 at 07:49 UTC
    One possibility that I came across is dividing by zero.