perl -E "$a=1;say$a*=++$}for @ARGV" 0 1 2 3 1 2 6 24 perl -E "$a=1;say$a*=++$}for @ARGV" 1 3 1 2 [download]
In reply to Re^4: Golf: Factorials by Discipulus in thread Golf: Factorials by srawls