Though we may have strayed a bit from the original golf, yours can be whittled by three strokes:
> perl -E "$a=1;say$a*=++$}for a..k" > perl -E "say$x*=$_ for++$x..11" 1 2 6 24 120 720 5040 40320 362880 3628800 39916800
In reply to Re^4: Golf: Factorials
by eyepopslikeamosquito
in thread Golf: Factorials
by srawls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |