in reply to Re: The golf course looks great, my swing feels good, I like my chances (Part IV)
in thread The golf course looks great, my swing feels good, I like my chances (Part IV)

You can save two more strokes by using for instead of while:

54 strokes
use bigint;$p=$p/~(2*$_)*~$_+2e999for-3333..-2;print$p

Replies are listed 'Best First'.
Re^3: The golf course looks great, my swing feels good, I like my chances (Part IV)
by primo (Scribe) on Sep 09, 2013 at 06:28 UTC

    And two more by using $\

    use bigint;$\=$\/~(2*$_)*~$_+2e999for-3319..-2;print

    Thanks!

      Yes, but only if you use a more recent perl, 5.14 or above I think. With perl 5.8 one gets: Can't call method "copy" without a package or object reference at Math/BigInt.pm line 111.