Help for this page

Select Code to Download


  1. or download this
    @a = factorial(5); $a[0] = 120<br>
    @a = factorial(5,3,10); $a[0..2] = (120,6,3628800)
    
  2. or download this
    sub f {
    push@a,eval join'*',1..$_ for@_;@a
    }