http://www.perlmonks.org?node_id=1021445


in reply to Re^3: When I see "10", I think:
in thread When I see "10", I think:

Using octal for 16-bit values is that it isolates bit 15 nicely.

FFFF(hex) = 177777(oct) 8000(hex) = 100000(oct) 7FFF(hex) = 077777(oct) 0000(hex) = 000000(oct)