http://www.perlmonks.org?node_id=1123114


in reply to Re^2: Golf: Factorials
in thread Golf: Factorials

24 characters using say and an unused punctuation variable:

13:38 >perl -E "$a=1;say$a*=++$}for a..k" 1 2 6 24 120 720 5040 40320 362880 3628800 39916800 13:38 >

:-)

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,