in reply to Re: perls long number problem
in thread perls long number problem

If you turned on warnings you would get several warnings about that code. (In particular centered about the fact that you don't know how to correctly access an element of an array.)

Also note that 12 digits, your preconceptions notwithstanding, is not a large number. Try 10 times that many digits and see if you don't discover what Perl's large number limits look like...

  • Comment on Re (tilly) 2: perls long number problem