in reply to Numeric limits in perl

You will have to find another way. 25*24*23*22*21*20*19 is approximately 2.4 billion. You will run out of memory on pretty much any language on nearly every computer.