in reply to Re^4: bignum and parenthesis
in thread bignum and parenthesis

I see you haven't read perlfunc yet.

print ( 2**3 - 1 )**( 2**7 - 1 ) % ( 2**19 - 1 )
is equivalent to
( print ( 2**3 - 1 ) )**( 2**7 - 1 ) % ( 2**19 - 1 )
and not the
print( ( 2**3 - 1 )**( 2**7 - 1 ) % ( 2**19 - 1 ) )
that you think it is.

That's why I put a + before the first parenthesis - it's one of the few times where a unary + is highly significant.

UPDATE: added the word "unary"