Perl
$r = 1; for(1 # r gets one for one
.. pop @ARGV) { $r *= # to pop arg v r splat gets
$_; } print $r; # the default print r
Toss this into a file named 'f.pl' (doesn't matter, just how I ran it below)f.pl
And the output:
$ perl f.pl 03 1$6$ perl f.pl 31-1 6$1$ perl f.pl 10 3628800$
Which is read as:
perl f p l three
perl f p l one less one
perl f p l ten