print ($foo & 255) + 1, "\n"; #### 1 + 1, "\n"; # Obviously not what you meant. #### print(($foo & 255) + 1, "\n"); #### print (1-1/2000)**$i; #### (print (1-1/2000))**$i; #### print ((1-1/2000)**$i);