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


in reply to Golf: Factorials

I don't know ... am I a beginner? :) I guess at golf, I am.
sub f{map{eval join"*",1..$_}@_;}
33 chars. Duh! Identical as someone else's answer ...

Replies are listed 'Best First'.
Re: Re: Golf: Factorials
by bobione (Pilgrim) on May 23, 2001 at 13:40 UTC
    32 characters if you delete that last ';'...
    sub f{map{eval join"*",1..$_}@_}

    Update: Sorry it's the same as japhy... nothing new.

    BobiOne KenoBi ;)