Use
perl -Mbignum -le 'print +( 7 ** 127 ) % ( 524287 )' [download]
See beginning of perlfunc for reason.
In reply to Re: bignum and parenthesis by tybalt89 in thread bignum and parenthesis by Anonymous Monk