Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: factorial through recursion

by ikegami (Patriarch)
on Jul 24, 2009 at 16:10 UTC ( [id://783031]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub fact {
       my ($n) = @_;
    ...
    }
    
    fact($n);
    
  2. or download this
    sub fact {
       my ($n, $prod) = @_;
    ...
    }
    
    fact($n);
    
  3. or download this
    sub fact {
       my ($n) = @_;
    ...
    }
    
    fact($n);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://783031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found