Binary number > 0b11111111111111111111111111111111 non-portable at ./bits line 12 (#2) (W portable) The binary number you specified is larger than 2**32-1 (4294967295) and therefore non-portable between systems. See perlport for more on portability concerns.