Why is the exit code 255 instead of -1 in Perl?

Posted by syker on Stack Overflow See other posts from Stack Overflow or by syker
Published on 2010-04-28T02:21:56Z Indexed on 2010/04/28 3:53 UTC
Read the original article Hit count: 300

Filed under:
|

Why is it that when I shift the exit code, $?, in Perl by eight, I get 255 when I expect it to be -1?

© Stack Overflow or respective owner

Related posts about perl

Related posts about exit